From 630b2e55de7b25f0226855e73afaf24d3591c2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Fri, 10 Aug 2018 22:25:50 +0200 Subject: [PATCH] Re-add CHANNEL_LAYERS settings. --- src/bornhack/environment_settings.py.dist | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bornhack/environment_settings.py.dist b/src/bornhack/environment_settings.py.dist index 15c4c82c..c047b63c 100644 --- a/src/bornhack/environment_settings.py.dist +++ b/src/bornhack/environment_settings.py.dist @@ -82,3 +82,10 @@ IRCBOT_SERVER_USETLS=True IRCBOT_PUBLIC_CHANNEL='{{ django_ircbot_public_channel }}' IRCBOT_VOLUNTEER_CHANNEL='{{ django_ircbot_volunteer_channel }}' +# set BACKEND to "channels.layers.InMemoryChannelLayer" and CONFIG to {} for local development +CHANNEL_LAYERS = { + "default": { + "BACKEND": "{{ django_channels_backend }}", + "CONFIG": {{ django_channels_config }} + }, +}