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:
parent
ceef9bbd55
commit
a93a66b8ac
|
@ -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 }}",
|
||||
|
|
Loading…
Reference in a new issue