X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b3a1d9bd41dbcae1ab6726f08922940195868246..fb09175c71d4a656627dfc8607e88b806c27241a:/wolnelektury.wsgi.template?ds=inline diff --git a/wolnelektury.wsgi.template b/wolnelektury.wsgi.template index 5535819e6..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 @@ -20,6 +20,7 @@ sys.path = [ ] + sys.path # Run Django +os.environ["CELERY_LOADER"] = "django" os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from django.core.handlers.wsgi import WSGIHandler