gestioCOF/cof/asgi.py

8 lines
207 B
Python
Raw Normal View History

2016-09-06 01:26:44 +02:00
import os
from channels.asgi import get_channel_layer
2016-09-24 19:34:36 +02:00
if "DJANGO_SETTINGS_MODULE" not in os.environ:
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cof.settings")
2016-09-06 01:26:44 +02:00
channel_layer = get_channel_layer()