]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Added django.template.base.library-moved.patch.
authorThomas Goirand <thomas@goirand.fr>
Mon, 11 Jan 2016 04:49:55 +0000 (04:49 +0000)
committerThomas Goirand <thomas@goirand.fr>
Mon, 11 Jan 2016 04:52:53 +0000 (04:52 +0000)
Rewritten-From: b2f0fb173570883317ec6246305aa653e461f854

trusty/debian/changelog
trusty/debian/patches/django.template.base.library-moved.patch [new file with mode: 0644]
trusty/debian/patches/series

index e0d5d5256e7e0c6ff3969d4ac2ae0e52e3a50a0f..03fb9d14025d99f46c4c8c100f0487ab03812313 100644 (file)
@@ -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 <zigo@debian.org>  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 (file)
index 0000000..8b2117b
--- /dev/null
@@ -0,0 +1,22 @@
+Description: django.template.base.library moved
+ It's now in django.template.library
+Author: Thomas Goirand <zigo@debian.org>
+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)
index 2128e79c5331ce7189f29e944a26ce91c78c2cc8..47890198f060ff30d4bdd886faf8f630e948acc7 100644 (file)
@@ -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