From: Maksym Yatsenko Date: Mon, 20 Oct 2014 11:02:10 +0000 (+0300) Subject: Update debian/patches/fix-dashboard-django-wsgi.patch: X-Git-Tag: mos-9.0~30 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F36%2F11;p=openstack-build%2Fhorizon-build.git Update debian/patches/fix-dashboard-django-wsgi.patch: line "application = django.core.handlers.wsgi.WSGIHandler()" was updated to "application = get_wsgi_application()" Change-Id: Iab9de6124ddc6a9af89faf10945752567bf0fa56 --- diff --git a/.gitreview b/.gitreview index 7f413bc..4b68e84 100644 --- a/.gitreview +++ b/.gitreview @@ -1,5 +1,7 @@ [gerrit] -host=gerrit.mirantis.com +host=review.fuel-infra.org port=29418 -project=openstack-ci/openstack/horizon-build +project=openstack-build/horizon-build defaultbranch=master + + diff --git a/debian/patches/fix-dashboard-django-wsgi.patch b/debian/patches/fix-dashboard-django-wsgi.patch index d27489d..3c629ab 100644 --- a/debian/patches/fix-dashboard-django-wsgi.patch +++ b/debian/patches/fix-dashboard-django-wsgi.patch @@ -4,9 +4,9 @@ diff -Naurp horizon-2014.2.b2.orig/openstack_dashboard/wsgi/django.wsgi horizon- @@ -9,6 +9,8 @@ sys.path.insert(0, os.path.join(os.path. os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' sys.stdout = sys.stderr - + +sys.path.append("/usr/share/openstack-dashboard/") + DEBUG = False - - application = django.core.handlers.wsgi.WSGIHandler() + + application = get_wsgi_application()