internet_ml/web/backend/backend/wsgi.py

17 lines
391 B
Python
Raw Normal View History

2022-12-28 10:41:27 +00:00
"""
2023-01-01 16:16:42 +00:00
WSGI config for backend project.
2022-12-28 10:41:27 +00:00
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/4.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
2023-01-01 16:16:42 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "backend.settings")
2022-12-28 10:41:27 +00:00
application = get_wsgi_application()