aboutsummaryrefslogtreecommitdiffstats
path: root/manager/wsgi.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-06-18 23:17:08 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-06-18 23:17:08 +0200
commitfbb4637a77dc5982b4e694dd31a0aa7d11cec17c (patch)
tree2b277a09a8dacff187211cacfad7da5b5a3dda9b /manager/wsgi.py
downloadscout-subs-fbb4637a77dc5982b4e694dd31a0aa7d11cec17c.tar.gz
scout-subs-fbb4637a77dc5982b4e694dd31a0aa7d11cec17c.zip
initial commit
Diffstat (limited to '')
-rw-r--r--manager/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/manager/wsgi.py b/manager/wsgi.py
new file mode 100644
index 0000000..74a48b4
--- /dev/null
+++ b/manager/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for manager 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/3.0/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'manager.settings')
+
+application = get_wsgi_application()