remove CHANNELS_LAYERS and move ASGI_APPLICATION to settings.py

This commit is contained in:
Thomas Steen Rasmussen 2018-04-14 17:30:12 +02:00
parent f50f1fe2e0
commit 7a526156c9
2 changed files with 1 additions and 10 deletions

View file

@ -20,15 +20,6 @@ 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 }}",
"CONFIG": {{ django_channels_config }}
},
}
ASGI_APPLICATION = "bornhack.routing.application"
# start redirecting to the next camp instead of the previous camp after
# this much of the time between the camps has passed

View file

@ -10,9 +10,9 @@ def local_dir(entry):
DJANGO_BASE_PATH = os.path.dirname(os.path.dirname(__file__))
WSGI_APPLICATION = 'bornhack.wsgi.application'
ASGI_APPLICATION = 'bornhack.routing.application'
ROOT_URLCONF = 'bornhack.urls'
SITE_ID = 1
ADMINS = (