Fixed #47: Wrong import path for redis backend in docs

This commit is contained in:
Andrew Godwin 2015-12-15 19:56:49 +00:00
parent 42d437eaf8
commit a6073157f4
2 changed files with 2 additions and 2 deletions

View File

@ -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)],
},
}

View File

@ -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)],
},
}