remove CHANNELS_LAYERS and move ASGI_APPLICATION to settings.py
This commit is contained in:
parent
f50f1fe2e0
commit
7a526156c9
|
@ -20,15 +20,6 @@ DEBUG={{ django_debug }}
|
||||||
# the path to the wkhtmltopdf binary
|
# the path to the wkhtmltopdf binary
|
||||||
WKHTMLTOPDF_CMD="{{ wkhtmltopdf_path }}"
|
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
|
# start redirecting to the next camp instead of the previous camp after
|
||||||
# this much of the time between the camps has passed
|
# this much of the time between the camps has passed
|
||||||
|
|
|
@ -10,9 +10,9 @@ def local_dir(entry):
|
||||||
DJANGO_BASE_PATH = os.path.dirname(os.path.dirname(__file__))
|
DJANGO_BASE_PATH = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
||||||
WSGI_APPLICATION = 'bornhack.wsgi.application'
|
WSGI_APPLICATION = 'bornhack.wsgi.application'
|
||||||
|
ASGI_APPLICATION = 'bornhack.routing.application'
|
||||||
ROOT_URLCONF = 'bornhack.urls'
|
ROOT_URLCONF = 'bornhack.urls'
|
||||||
|
|
||||||
|
|
||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
ADMINS = (
|
ADMINS = (
|
||||||
|
|
Loading…
Reference in a new issue