2016-09-06 01:26:44 +02:00
|
|
|
import os
|
2018-10-06 12:35:49 +02:00
|
|
|
|
2016-09-06 01:26:44 +02:00
|
|
|
from channels.asgi import get_channel_layer
|
|
|
|
|
2016-09-24 19:34:36 +02:00
|
|
|
if "DJANGO_SETTINGS_MODULE" not in os.environ:
|
2021-02-07 17:17:15 +01:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gestioasso.settings")
|
2016-09-06 01:26:44 +02:00
|
|
|
|
|
|
|
channel_layer = get_channel_layer()
|