Include base project directory in python path for wsgi.py

This commit is contained in:
Michael Hall 2018-01-20 16:52:19 -05:00
parent 927933f68e
commit 5e97740f7c

View file

@ -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")