add channel layers to environment_settings.py.dist, remember to update your local dev environment_settings.py or nothing will work
This commit is contained in:
parent
dad1c6a352
commit
b0890fd7d8
|
@ -20,6 +20,15 @@ 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
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "{{ django_channels_backend }}",
|
||||
"ROUTING": "bornhack.routing.channel_routing",
|
||||
"CONFIG": {{ django_channels_config }}
|
||||
},
|
||||
}
|
||||
|
||||
### changes below here are only needed for production
|
||||
|
||||
# email settings
|
||||
|
|
Loading…
Reference in a new issue