2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

Django 1.7 wsgi.py

This commit is contained in:
Sam Wenham 2018-04-15 16:29:30 +01:00
parent 0633e17d11
commit 7faf2e1cb9

14
wsgi.py Normal file
View File

@ -0,0 +1,14 @@
"""
WSGI config for mysite 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.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()