Préparation pour daphne

This commit is contained in:
Martin Pépin 2016-09-06 01:26:44 +02:00
parent 4237b842b4
commit 7d02f29e48
2 changed files with 6 additions and 0 deletions

0
apache/__init__.py Normal file
View file

6
apache/asgi.py Normal file
View file

@ -0,0 +1,6 @@
import os
from channels.asgi import get_channel_layer
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cof.settings")
channel_layer = get_channel_layer()