diff --git a/mamweb/wsgi.py b/mamweb/wsgi.py index d46807d8..1483b212 100644 --- a/mamweb/wsgi.py +++ b/mamweb/wsgi.py @@ -7,8 +7,11 @@ For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ -import os +import sys, os, os.path os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mamweb.settings") +sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python2.7', 'site-packages')) + from django.core.wsgi import get_wsgi_application application = get_wsgi_application()