DRF_Template/backend/config/wsgi.py

17 lines
395 B
Python
Raw Normal View History

2024-01-06 12:13:39 +08:00
"""
WSGI config for DRF-Template project.
2024-01-06 12:13:39 +08: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.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
2024-01-06 12:13:39 +08:00
application = get_wsgi_application()