summaryrefslogtreecommitdiff
path: root/coding_assignment_project/wsgi.py
diff options
context:
space:
mode:
authorworkmai <iain.workman@lightsource.ca>2018-10-04 12:14:39 -0600
committerworkmai <iain.workman@lightsource.ca>2018-10-04 12:14:39 -0600
commit12d1f9fd979c11b9e3a3a89b1595b07569b88f79 (patch)
treeaf591040768b104f4bb840a21a92968848a0ffe6 /coding_assignment_project/wsgi.py
downloadcoding-assignment-12d1f9fd979c11b9e3a3a89b1595b07569b88f79.zip
coding-assignment-12d1f9fd979c11b9e3a3a89b1595b07569b88f79.tar.gz
coding-assignment-12d1f9fd979c11b9e3a3a89b1595b07569b88f79.tar.bz2
Initial commit of the coding assignment base project
Diffstat (limited to 'coding_assignment_project/wsgi.py')
-rw-r--r--coding_assignment_project/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/coding_assignment_project/wsgi.py b/coding_assignment_project/wsgi.py
new file mode 100644
index 0000000..3057f8d
--- /dev/null
+++ b/coding_assignment_project/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for coding_assignment_project 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', 'coding_assignment_project.settings')
+
+application = get_wsgi_application()