From a93a66b8ac38132e21b42b812debdcdd8525c62a Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 28 Aug 2017 21:56:38 +0200 Subject: [PATCH] Should set mapping to empty dict, not empty string asgi_layer = backend_class(**config) TypeError: type object argument after ** must be a mapping, not str --- src/bornhack/environment_settings.py.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bornhack/environment_settings.py.dist b/src/bornhack/environment_settings.py.dist index 07400c5b..4fced002 100644 --- a/src/bornhack/environment_settings.py.dist +++ b/src/bornhack/environment_settings.py.dist @@ -20,7 +20,7 @@ DEBUG={{ django_debug }} # the path to the wkhtmltopdf binary WKHTMLTOPDF_CMD="{{ wkhtmltopdf_path }}" -# set BACKEND to "asgiref.inmemory.ChannelLayer" and CONFIG to "" for local development +# set BACKEND to "asgiref.inmemory.ChannelLayer" and CONFIG to {} for local development CHANNEL_LAYERS = { "default": { "BACKEND": "{{ django_channels_backend }}",