summaryrefslogtreecommitdiff
path: root/scipy/wsgi.py
diff options
context:
space:
mode:
authorJayaram R Pai2014-09-10 14:57:59 +0530
committerJayaram R Pai2014-09-10 14:57:59 +0530
commitf5d42c76e60d095c9f6362d206cf256de2c8ecb7 (patch)
tree025766970199be6b5cea4e74065d007c8fed9895 /scipy/wsgi.py
downloadscipy2014-f5d42c76e60d095c9f6362d206cf256de2c8ecb7.tar.gz
scipy2014-f5d42c76e60d095c9f6362d206cf256de2c8ecb7.tar.bz2
scipy2014-f5d42c76e60d095c9f6362d206cf256de2c8ecb7.zip
initial commit
Diffstat (limited to 'scipy/wsgi.py')
-rw-r--r--scipy/wsgi.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/scipy/wsgi.py b/scipy/wsgi.py
new file mode 100644
index 0000000..c70ddd1
--- /dev/null
+++ b/scipy/wsgi.py
@@ -0,0 +1,14 @@
+"""
+WSGI config for scipy 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.7/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "scipy.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()