mirror of
https://github.com/django/daphne.git
synced 2025-04-21 01:02:06 +03:00
Fixed #47: Wrong import path for redis backend in docs
This commit is contained in:
parent
42d437eaf8
commit
a6073157f4
|
@ -21,7 +21,7 @@ but you can override this with the ``HOSTS`` setting::
|
|||
|
||||
CHANNEL_BACKENDS = {
|
||||
"default": {
|
||||
"BACKEND": "channels.backends.redis.RedisChannelBackend",
|
||||
"BACKEND": "channels.backends.redis_py.RedisChannelBackend",
|
||||
"HOSTS": [("redis-channel-1", 6379), ("redis-channel-2", 6379)],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ here's an example for a remote Redis server::
|
|||
|
||||
CHANNEL_BACKENDS = {
|
||||
"default": {
|
||||
"BACKEND": "channels.backends.redis.RedisChannelBackend",
|
||||
"BACKEND": "channels.backends.redis_py.RedisChannelBackend",
|
||||
"HOSTS": [("redis-channel", 6379)],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user