From: Thomas Goirand Date: Mon, 11 Jan 2016 04:49:55 +0000 (+0000) Subject: Added django.template.base.library-moved.patch. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b796c4712b463589d317c346443aa4b998172785;p=openstack-build%2Fhorizon-build.git Added django.template.base.library-moved.patch. Rewritten-From: b2f0fb173570883317ec6246305aa653e461f854 --- diff --git a/trusty/debian/changelog b/trusty/debian/changelog index e0d5d52..03fb9d1 100644 --- a/trusty/debian/changelog +++ b/trusty/debian/changelog @@ -7,6 +7,7 @@ horizon (2:8.0.0-4) unstable; urgency=medium * Added handle-django.forms.util-rename.patch. * Added explicitly-declare-app_label.patch. * Added add-openstack_auth-in-INSTALLED_APPS.patch. + * Added django.template.base.library-moved.patch. -- Thomas Goirand Mon, 11 Jan 2016 02:54:28 +0000 diff --git a/trusty/debian/patches/django.template.base.library-moved.patch b/trusty/debian/patches/django.template.base.library-moved.patch new file mode 100644 index 0000000..8b2117b --- /dev/null +++ b/trusty/debian/patches/django.template.base.library-moved.patch @@ -0,0 +1,22 @@ +Description: django.template.base.library moved + It's now in django.template.library +Author: Thomas Goirand +Forwarded: no +Last-Update: 2016-01-11 + +--- horizon-8.0.0.orig/horizon/templatetags/shellfilter.py ++++ horizon-8.0.0/horizon/templatetags/shellfilter.py +@@ -10,11 +10,11 @@ + # License for the specific language governing permissions and limitations + # under the License. + +-from django.template import base ++from django.template import library + from django.template import defaultfilters + from django.utils import safestring + +-register = base.Library() ++register = library.Library() + + + @register.filter(is_safe=True) diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series index 2128e79..4789019 100644 --- a/trusty/debian/patches/series +++ b/trusty/debian/patches/series @@ -8,3 +8,4 @@ fixed-removed-TemplateDoesNotExist.patch handle-django.forms.util-rename.patch explicitly-declare-app_label.patch add-openstack_auth-in-INSTALLED_APPS.patch +django.template.base.library-moved.patch