django-vue-admin/backend/application/wsgi.py

18 lines
444 B
Python
Raw Normal View History

2022-04-05 05:22:26 +00:00
"""
WSGI config for backend 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/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'application.settings')
2022-05-19 03:17:48 +00:00
os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"
2022-04-05 05:22:26 +00:00
application = get_wsgi_application()