add asgi.py file

This commit is contained in:
Thomas Steen Rasmussen 2017-04-15 20:01:24 +02:00
parent cad2b468e4
commit 9f18d94ee1

7
src/bornhack/asgi.py Normal file
View file

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