Replaced gunicorn with daphne

This commit is contained in:
Eliot Berriot 2018-03-03 10:52:48 +01:00
parent 8dea9130af
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