- """
- ASGI entrypoint. Configures Django and then runs the application
- defined in the ASGI_APPLICATION setting.
- """
- import os
- import django
- import channels.asgi
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
- django.setup()
- application = channels.asgi.get_channel_layer()
|