]> git.ozlabs.org Git - patchwork/commit
helpers: Change patchwork.wsgi to include the apps/ dir in sys.path
authorGuilherme Salgado <guilherme.salgado@linaro.org>
Tue, 15 Feb 2011 02:30:54 +0000 (02:30 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 28 Feb 2011 01:54:15 +0000 (09:54 +0800)
commit1dbb7b85cb00bbdfecfce8831096d9a15111ac37
treebaec54103373a34244926b9cffbadf7601204039
parentfec4267113abb18890ddf04b744122892af63383
helpers: Change patchwork.wsgi to include the apps/ dir in sys.path

Without this, templates will crash as they reference patchwork.<module>
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 <guilherme.salgado@linaro.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/apache2/patchwork.wsgi
lib/apache2/patchwork.wsgi.conf
patchwork.wsgi [deleted symlink]