aboutsummaryrefslogtreecommitdiffstats
path: root/manager/asgi.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/asgi.py
downloadscout-subs-fbb4637a77dc5982b4e694dd31a0aa7d11cec17c.tar.gz
scout-subs-fbb4637a77dc5982b4e694dd31a0aa7d11cec17c.zip
initial commit
Diffstat (limited to '')
-rw-r--r--manager/asgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/manager/asgi.py b/manager/asgi.py
new file mode 100644
index 0000000..7400648
--- /dev/null
+++ b/manager/asgi.py
@@ -0,0 +1,16 @@
+"""
+ASGI config for manager project.
+
+It exposes the ASGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
+"""
+
+import os
+
+from django.core.asgi import get_asgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'manager.settings')
+
+application = get_asgi_application()