diff options
author | Sashi20 | 2018-09-17 15:05:23 +0530 |
---|---|---|
committer | Sashi20 | 2018-09-17 15:28:57 +0530 |
commit | 074718390f7ce5cf8692e7bdeff68ea2197926c4 (patch) | |
tree | 521fbc151989cfefd7875625ab21dbb4d00da789 /nccps2018/wsgi.py | |
parent | 8c6c66af7b4b628a2063261ffd240ee4c715f62f (diff) | |
download | nccps-2018-074718390f7ce5cf8692e7bdeff68ea2197926c4.tar.gz nccps-2018-074718390f7ce5cf8692e7bdeff68ea2197926c4.tar.bz2 nccps-2018-074718390f7ce5cf8692e7bdeff68ea2197926c4.zip |
Resolved merge conflict in navbar template regarding namespace
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() + |