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

19 lines
426 B
Python

"""
WSGI config for source project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/5.1/howto/deployment/wsgi/
"""
import os
import dotenv
from django.core.wsgi import get_wsgi_application
dotenv.load_dotenv()
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')
application = get_wsgi_application()