mirror of
https://github.com/django/daphne.git
synced 2025-07-30 00:49:44 +03:00
Define TEST_CONFIG for testproject redis layer. (#674)
This commit is contained in:
parent
94b3f3563b
commit
54fa7be874
|
@ -11,6 +11,9 @@ CHANNEL_LAYERS = {
|
||||||
"ROUTING": "testproject.urls.channel_routing",
|
"ROUTING": "testproject.urls.channel_routing",
|
||||||
"CONFIG": {
|
"CONFIG": {
|
||||||
"hosts": [os.environ.get('REDIS_URL', 'redis://127.0.0.1:6379')],
|
"hosts": [os.environ.get('REDIS_URL', 'redis://127.0.0.1:6379')],
|
||||||
}
|
},
|
||||||
|
"TEST_CONFIG": {
|
||||||
|
"hosts": [os.environ.get('REDIS_URL', 'redis://127.0.0.1:6379')],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user