summaryrefslogtreecommitdiff
path: root/nccps2018/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'nccps2018/wsgi.py')
-rw-r--r--nccps2018/wsgi.py10
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()
+