Préparation pour daphne
This commit is contained in:
parent
4237b842b4
commit
7d02f29e48
2 changed files with 6 additions and 0 deletions
0
apache/__init__.py
Normal file
0
apache/__init__.py
Normal file
6
apache/asgi.py
Normal file
6
apache/asgi.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
import os
|
||||
from channels.asgi import get_channel_layer
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cof.settings")
|
||||
|
||||
channel_layer = get_channel_layer()
|
Loading…
Reference in a new issue