8 lines
216 B
Python
8 lines
216 B
Python
|
import os
|
||
|
from channels.asgi import get_channel_layer
|
||
|
|
||
|
if "DJANGO_SETTINGS_MODULE" not in os.environ:
|
||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evenementiel.settings")
|
||
|
|
||
|
channel_layer = get_channel_layer()
|