summaryrefslogtreecommitdiffstats
path: root/lib/apache2/patchwork.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apache2/patchwork.wsgi')
-rw-r--r--lib/apache2/patchwork.wsgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/apache2/patchwork.wsgi b/lib/apache2/patchwork.wsgi
index 0488b48..869bb9d 100644
--- a/lib/apache2/patchwork.wsgi
+++ b/lib/apache2/patchwork.wsgi
@@ -9,8 +9,10 @@
import os
import sys
-basedir = os.path.dirname(__file__)
+basedir = os.path.join(
+ os.path.dirname(__file__), os.path.pardir, os.path.pardir)
sys.path.append(basedir)
+sys.path.append(os.path.join(basedir, 'apps'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'apps.settings'
import django.core.handlers.wsgi