CTF-Manager/project/asgi.py
2025-02-09 22:25:31 +01:00

19 lines
426 B
Python

"""
ASGI config for source 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/5.1/howto/deployment/asgi/
"""
import os
import dotenv
from django.core.asgi import get_asgi_application
dotenv.load_dotenv()
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')
application = get_asgi_application()