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:
Thomas Steen Rasmussen 2017-04-19 09:30:01 +02:00
parent dad1c6a352
commit b0890fd7d8
1 changed files with 9 additions and 0 deletions

View File

@ -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