django-ex/project/wsgi.py

17 lines
388 B
Python
Raw Normal View History

2015-04-29 17:56:45 +02:00
"""
2020-05-21 16:24:44 +02:00
WSGI config for this project.
2015-04-29 17:56:45 +02:00
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
2020-05-21 16:24:44 +02:00
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
2015-04-29 17:56:45 +02:00
"""
import os
from django.core.wsgi import get_wsgi_application
2020-05-21 16:24:44 +02:00
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')
2015-04-29 17:56:45 +02:00
2016-07-08 06:47:39 +02:00
application = get_wsgi_application()