django-ex/wsgi.py

17 lines
391 B
Python
Raw Normal View History

2015-04-29 17:56:45 +02:00
"""
WSGI config for project 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/1.8/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
2016-07-08 06:47:39 +02:00
application = get_wsgi_application()