django-ex/wsgi.py

17 lines
392 B
Python
Raw Normal View History

2015-04-29 17:56:45 +02:00
"""
WSGI config for project 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
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
2015-04-29 17:56:45 +02:00
"""
import os
from django.core.wsgi import get_wsgi_application
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()