summaryrefslogtreecommitdiff
path: root/backend/EcoAlert/wsgi.py
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2019-03-11 21:00:02 +0400
committerAndrew <saintruler@gmail.com>2019-03-11 21:00:02 +0400
commit7e7dd5244e8d26485ad7950a89c04c98c4fef83f (patch)
tree810730c4650392080fb87a78d3b527201e89fe4b /backend/EcoAlert/wsgi.py
Initial commit/
Diffstat (limited to 'backend/EcoAlert/wsgi.py')
-rw-r--r--backend/EcoAlert/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/backend/EcoAlert/wsgi.py b/backend/EcoAlert/wsgi.py
new file mode 100644
index 0000000..d31e423
--- /dev/null
+++ b/backend/EcoAlert/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for EcoAlert 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/2.1/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'EcoAlert.settings')
+
+application = get_wsgi_application()