This is a much more sensible name since it contains configuration applicable to both GestioCOF and GestioBDS. The next logical step would be to rename the `gestioncof/` folder to `cof/`.
9 lines
215 B
Python
9 lines
215 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", "gestioasso.settings")
|
|
|
|
channel_layer = get_channel_layer()
|