django-template/asgi.py
Andros Fenollosa 17e952bdbd First commit
2021-04-01 09:48:35 +02:00

12 lines
196 B
Python

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
import django
django.setup()
from channels.routing import ProtocolTypeRouter
application = ProtocolTypeRouter({})