summaryrefslogtreecommitdiff
path: root/postgresqleu/wsgi.py
diff options
context:
space:
mode:
authorMagnus Hagander2016-01-01 17:24:30 +0000
committerMagnus Hagander2016-01-07 14:19:56 +0000
commit6892dc1612e9db60786b29343fd3a27794c0db8f (patch)
tree5194a10716f2ba920c37d48963cfabf97075b28d /postgresqleu/wsgi.py
parent3c010ab07d4c1824af890ee97ae8f20d24de9c94 (diff)
Move files around for django 1.8 compatible layout
Diffstat (limited to 'postgresqleu/wsgi.py')
-rw-r--r--postgresqleu/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/postgresqleu/wsgi.py b/postgresqleu/wsgi.py
new file mode 100644
index 00000000..8e0c00bc
--- /dev/null
+++ b/postgresqleu/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for postgresqleu 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", "postgresqleu.settings")
+
+application = get_wsgi_application()