diff options
author | FOSSEE Git User | 2018-09-17 19:32:14 +0530 |
---|---|---|
committer | FOSSEE Git User | 2018-09-17 19:32:14 +0530 |
commit | 9101634821effb65bf8715e30a57bd3ffa714b23 (patch) | |
tree | f6a6f8af9c7cf42ce3785ec431d6b594f8363177 /nccps2018/wsgi.py | |
parent | 606b481405fc1a929b7f9703de891922dca5ddb7 (diff) | |
parent | 729145dc29514f25be34168049e5bfd1838379f1 (diff) | |
download | nccps-2018-9101634821effb65bf8715e30a57bd3ffa714b23.tar.gz nccps-2018-9101634821effb65bf8715e30a57bd3ffa714b23.tar.bz2 nccps-2018-9101634821effb65bf8715e30a57bd3ffa714b23.zip |
Merge branch 'master' of https://github.com/FOSSEE/nccps-2018
Diffstat (limited to 'nccps2018/wsgi.py')
-rw-r--r-- | nccps2018/wsgi.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nccps2018/wsgi.py b/nccps2018/wsgi.py index 25a3f46..f91acc6 100644 --- a/nccps2018/wsgi.py +++ b/nccps2018/wsgi.py @@ -8,9 +8,17 @@ https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os +import sys -from django.core.wsgi import get_wsgi_application + +sys.path.append('/Sites/nccps_2018/nccps-2018') +sys.path.insert(1, '/Sites/nccps_2018/nccps-2018') +sys.path.insert(1, '/Sites/nccps_2018/env_nccps/lib/python3.6/site-packages') + +activate_this = '/Sites/nccps_2018/env_nccps/bin/activate_this.py' os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'nccps2018.settings') +from django.core.wsgi import get_wsgi_application application = get_wsgi_application() + |