From 5e97740f7c2fb748802a12308ef0ec0176caea98 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sat, 20 Jan 2018 16:52:19 -0500 Subject: [PATCH] Include base project directory in python path for wsgi.py --- get_together/wsgi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/get_together/wsgi.py b/get_together/wsgi.py index 42c801d..4feee6f 100644 --- a/get_together/wsgi.py +++ b/get_together/wsgi.py @@ -8,8 +8,10 @@ https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os +import sys from django.core.wsgi import get_wsgi_application +sys.path.append(os.path.dirname(os.path.dirname(__file__))) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "get_together.settings")