bornhack-website/src/bornhack/asgi.py

8 lines
162 B
Python
Raw Normal View History

2017-04-15 18:01:24 +00:00
import os
from channels.asgi import get_channel_layer
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bornhack.settings")
channel_layer = get_channel_layer()