X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..6ce172931557c6c3b5a3f3eefd9d3e10c9c03d05:/wolnelektury.wsgi.template?ds=sidebyside diff --git a/wolnelektury.wsgi.template b/wolnelektury.wsgi.template index 5535819e6..6a56ad7b6 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/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