summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2018-04-15 16:29:30 +0100
committerSam Wenham <sam@wenhams.co.uk>2018-04-15 16:29:30 +0100
commit7faf2e1cb91195055b2289c5cac2ede1eb507633 (patch)
treef1cfd99d88b4a7a81272fd6264556a6c5adb66ff
parent0633e17d11750625758df43f66c110955525d6e3 (diff)
downloadtroggle-7faf2e1cb91195055b2289c5cac2ede1eb507633.tar.gz
troggle-7faf2e1cb91195055b2289c5cac2ede1eb507633.tar.bz2
troggle-7faf2e1cb91195055b2289c5cac2ede1eb507633.zip
Django 1.7 wsgi.py
-rw-r--r--wsgi.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/wsgi.py b/wsgi.py
new file mode 100644
index 0000000..056838b
--- /dev/null
+++ b/wsgi.py
@@ -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()