summaryrefslogtreecommitdiff
path: root/yubitest/wsgi.py
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2016-07-22 13:50:54 +0300
committerYuval Adam <_@yuv.al>2016-07-22 13:50:54 +0300
commitf4d353b73253e8d2c3be3cb7c64c0ced4ee2eed9 (patch)
tree9d4bf0b7060f6d214a6cf6a5751fc0aabbe2deca /yubitest/wsgi.py
parent9caed11fb785fd98ee22b0377259a65a287a99e8 (diff)
Start Django project
Diffstat (limited to 'yubitest/wsgi.py')
-rw-r--r--yubitest/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/yubitest/wsgi.py b/yubitest/wsgi.py
new file mode 100644
index 0000000..41bf608
--- /dev/null
+++ b/yubitest/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for yubitest 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.9/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "yubitest.settings")
+
+application = get_wsgi_application()