diff --git a/src/bornhack/environment_settings.py.dist b/src/bornhack/environment_settings.py.dist index 042ce179..15c4c82c 100644 --- a/src/bornhack/environment_settings.py.dist +++ b/src/bornhack/environment_settings.py.dist @@ -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 diff --git a/src/bornhack/settings.py b/src/bornhack/settings.py index 560455b1..9283d8fe 100644 --- a/src/bornhack/settings.py +++ b/src/bornhack/settings.py @@ -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 = (