Replaced gunicorn with daphne

This commit is contained in:
Eliot Berriot 2018-03-03 10:52:48 +01:00
commit 7f7a62cfa2
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 13 additions and 9 deletions

8
api/config/asgi.py Normal file
View file

@ -0,0 +1,8 @@
import django
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.production")
django.setup()
from .routing import application

View file

@ -58,8 +58,6 @@ CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS
# END SITE CONFIGURATION
INSTALLED_APPS += ("gunicorn", )
# STORAGE CONFIGURATION
# ------------------------------------------------------------------------------
# Uploaded Media Files