From: Radek Czajka Date: Mon, 5 Jul 2010 16:15:17 +0000 (+0200) Subject: wsgi templates fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/b3a1d9bd41dbcae1ab6726f08922940195868246?ds=inline;hp=--cc wsgi templates fix --- b3a1d9bd41dbcae1ab6726f08922940195868246 diff --git a/wolnelektury.wsgi.template b/wolnelektury.wsgi.template index 76e390320..5535819e6 100644 --- a/wolnelektury.wsgi.template +++ b/wolnelektury.wsgi.template @@ -16,6 +16,7 @@ sys.path = [ '%(path)s/releases/current', '%(path)s/releases/current/apps', '%(path)s/releases/current/lib', + '%(path)s/releases/current/lib/librarian', ] + sys.path # Run Django diff --git a/wolnelektury.wsgi.tmpl b/wolnelektury.wsgi.tmpl index 6b772f34a..a27cbb423 100644 --- a/wolnelektury.wsgi.tmpl +++ b/wolnelektury.wsgi.tmpl @@ -14,6 +14,7 @@ sys.stdout = sys.stderr sys.path = [ '$PROJECT_ROOT', '$PROJECT_ROOT/lib', + '$PROJECT_ROOT/lib/librarian', '$PROJECT_ROOT/apps', ] + sys.path