From 30f04220ebceb54279ad81c39c4c4cfffc5d96a4 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> Date: Fri, 31 Jan 2014 21:17:44 +0100 Subject: [PATCH] added project path to wsgi python path --- helsinki/wsgi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helsinki/wsgi.py b/helsinki/wsgi.py index 3d00c6a6..36d57d6a 100644 --- a/helsinki/wsgi.py +++ b/helsinki/wsgi.py @@ -13,7 +13,9 @@ middleware here, or combine a Django application with an application of another framework. """ -import os +import os, sys + +sys.path.append('/var/www/pv/helsinki') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "helsinki.settings") -- GitLab