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
This commit is contained in:
Benjamin Bach 2017-08-28 21:56:38 +02:00
parent ceef9bbd55
commit a93a66b8ac

View file

@ -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 }}",