summaryrefslogtreecommitdiff
path: root/website/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/wsgi.py')
-rw-r--r--website/wsgi.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/wsgi.py b/website/wsgi.py
new file mode 100644
index 0000000..c509fb5
--- /dev/null
+++ b/website/wsgi.py
@@ -0,0 +1,14 @@
+# WSGI config for website 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", "website.settings")
+
+application = get_wsgi_application()