kpsul/apache/asgi.py
2016-09-06 01:26:44 +02:00

6 lines
156 B
Python

import os
from channels.asgi import get_channel_layer
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cof.settings")
channel_layer = get_channel_layer()