html-over-websockets-with-d.../event/asgi.py

17 lines
387 B
Python
Raw Normal View History

2021-11-08 23:32:13 +01:00
"""
ASGI config for event project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
2021-11-12 13:52:41 +01:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "event.settings")
2021-11-08 23:32:13 +01:00
application = get_asgi_application()