From 1dbb7b85cb00bbdfecfce8831096d9a15111ac37 Mon Sep 17 00:00:00 2001 From: Guilherme Salgado Date: Tue, 15 Feb 2011 02:30:54 +0000 Subject: helpers: Change patchwork.wsgi to include the apps/ dir in sys.path Without this, templates will crash as they reference patchwork. directly. Also removes the patchwork.wsgi symlink from the root and use the real file in patchwork.wsgi.conf instead, as suggested by Dirk Wallenstein. Signed-off-by: Guilherme Salgado Signed-off-by: Jeremy Kerr --- lib/apache2/patchwork.wsgi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/apache2/patchwork.wsgi.conf') diff --git a/lib/apache2/patchwork.wsgi.conf b/lib/apache2/patchwork.wsgi.conf index e99f8c6..3756e5a 100644 --- a/lib/apache2/patchwork.wsgi.conf +++ b/lib/apache2/patchwork.wsgi.conf @@ -16,5 +16,5 @@ -WSGIScriptAlias / "/srv/patchwork/patchwork.wsgi" +WSGIScriptAlias / "/srv/patchwork/lib/apache2/patchwork.wsgi" WSGIPassAuthorization On -- cgit v1.2.3