X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e04a3d9448c218e380a0c281f2e6330df3166ead..6a4c422e0fca96b5244d9fdf6614d953fab07820:/wolnelektury.wsgi.template?ds=inline diff --git a/wolnelektury.wsgi.template b/wolnelektury.wsgi.template index 76e390320..033bab12a 100644 --- a/wolnelektury.wsgi.template +++ b/wolnelektury.wsgi.template @@ -1,6 +1,6 @@ #!%(python)s import site -site.addsitedir('%(path)s/lib/python2.5/site-packages') +site.addsitedir('%(path)s/ve/lib/python2.6/site-packages') import os from os.path import abspath, dirname, join @@ -16,9 +16,11 @@ 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 +os.environ["CELERY_LOADER"] = "django" os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from django.core.handlers.wsgi import WSGIHandler