From a6073157f4845c37f7711fb0c203862c0ab8d17c Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 15 Dec 2015 19:56:49 +0000 Subject: [PATCH] Fixed #47: Wrong import path for redis backend in docs --- docs/backends.rst | 2 +- docs/deploying.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/backends.rst b/docs/backends.rst index bb92930..e132654 100644 --- a/docs/backends.rst +++ b/docs/backends.rst @@ -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)], }, } diff --git a/docs/deploying.rst b/docs/deploying.rst index f9fcd1a..1d133c4 100644 --- a/docs/deploying.rst +++ b/docs/deploying.rst @@ -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)], }, }