diff options
author | komalsheth286 | 2016-09-23 14:41:34 +0530 |
---|---|---|
committer | komalsheth286 | 2016-09-23 14:41:34 +0530 |
commit | 9884007cb4668699dd56e443660442b2b819b207 (patch) | |
tree | 35635b519bebe3ce5a40b187530c43e069166156 /scipy2016/wsgi.py | |
parent | 53199f41e0e22975c8efb45b68e67780c954a45f (diff) | |
download | SciPy2016-9884007cb4668699dd56e443660442b2b819b207.tar.gz SciPy2016-9884007cb4668699dd56e443660442b2b819b207.tar.bz2 SciPy2016-9884007cb4668699dd56e443660442b2b819b207.zip |
Changes of links to 2016
Diffstat (limited to 'scipy2016/wsgi.py')
-rwxr-xr-x | scipy2016/wsgi.py | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/scipy2016/wsgi.py b/scipy2016/wsgi.py index e8c8013..8a257db 100755 --- a/scipy2016/wsgi.py +++ b/scipy2016/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for online_test project. +WSGI config for scipy2016 project. It exposes the WSGI callable as a module-level variable named ``application``. @@ -8,25 +8,7 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os -import sys - - -sys.path.insert(0, '/Site/scipy_in_2016/scipy/scipy2016') -sys.path.insert(1, '/Site/scipy_in_2016/scipy') -sys.path.insert(2, '/Site/scipy_in_2016/scipy_env/lib/python2.7/site-packages') -# We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks -# if running multiple sites in the same mod_wsgi process. To fix this, use -# mod_wsgi daemon mode with each site in its own daemon process, or use - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "scipy2016.settings") -activate_this = '/Site/scipy_in_2016/scipy_env/bin/activate_this.py' -# This application object is used by any WSGI server configured to use this -# file. This includes Django's development server, if the WSGI_APPLICATION -# setting points here. from django.core.wsgi import get_wsgi_application application = get_wsgi_application() - -# Apply WSGI middleware here. -# from helloworld.wsgi import HelloWorldApplication -# application = HelloWorldApplication(application) |