add asgi.py file
This commit is contained in:
parent
cad2b468e4
commit
9f18d94ee1
7
src/bornhack/asgi.py
Normal file
7
src/bornhack/asgi.py
Normal 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()
|
||||
|
Loading…
Reference in a new issue