X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f7e3ba3851d4ec6e3decaab0d568e492726224dc..ffe377758219d2500806c0807c6e902be8eba4fb:/platforma/config/platforma.wsgi.template diff --git a/platforma/config/platforma.wsgi.template b/platforma/config/platforma.wsgi.template index 3528fe88..6a1770c0 100644 --- a/platforma/config/platforma.wsgi.template +++ b/platforma/config/platforma.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 @@ -18,7 +18,7 @@ sys.path = [ ] + sys.path # Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' +os.environ['DJANGO_SETTINGS_MODULE'] = '%(project_name)s.settings' from django.core.handlers.wsgi import WSGIHandler application = WSGIHandler()