gestioCOF/cof/asgi.py

9 lines
208 B
Python
Raw Permalink Normal View History

2016-09-06 01:26:44 +02:00
import os
2016-09-06 01:26:44 +02:00
from channels.asgi import get_channel_layer
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()