From df097cbf6888b2a6a518dffcba9cd8327798a6f7 Mon Sep 17 00:00:00 2001 From: brad stein Date: Tue, 23 Oct 2018 21:55:02 -0500 Subject: [PATCH] Looks like I need redis --- ChannelsDrawShareSite/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChannelsDrawShareSite/settings.py b/ChannelsDrawShareSite/settings.py index 447716f..8938113 100644 --- a/ChannelsDrawShareSite/settings.py +++ b/ChannelsDrawShareSite/settings.py @@ -77,7 +77,8 @@ CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': { - "hosts": [('127.0.0.1', 6379)], + # "hosts": [('127.0.0.1', 6379)], + "hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')], }, }, }