]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
adds django-1.10-define-TEMPLATES.patch
authorThomas Goirand <thomas@goirand.fr>
Wed, 20 Jul 2016 11:37:41 +0000 (11:37 +0000)
committerThomas Goirand <thomas@goirand.fr>
Wed, 20 Jul 2016 11:37:41 +0000 (11:37 +0000)
Rewritten-From: 0ae4aa3fd1318c317a3ec31ae0f95ada467c74e8

xenial/debian/changelog
xenial/debian/patches/django-1.10-define-TEMPLATES.patch [new file with mode: 0644]
xenial/debian/patches/series

index 3f66583c38fbd6786099f2c8aa3d02922fe3b2a1..fff44282611d25bf2b99dfa72970d0d37600e80d 100644 (file)
@@ -3,6 +3,7 @@ horizon (3:10.0.0~b2-2) UNRELEASED; urgency=medium
   * Add Django 1.10 patch:
     - django-1.10-django.conf.urls.patterns-removed.patch
     - django-1.10-get_form-form_class-default-value.patch
+    - django-1.10-define-TEMPLATES.patch
 
  -- Thomas Goirand <zigo@debian.org>  Wed, 20 Jul 2016 10:49:45 +0200
 
diff --git a/xenial/debian/patches/django-1.10-define-TEMPLATES.patch b/xenial/debian/patches/django-1.10-define-TEMPLATES.patch
new file mode 100644 (file)
index 0000000..bc9389e
--- /dev/null
@@ -0,0 +1,18 @@
+Description: [Django 1.10] Defines TEMPLATES
+Author: Thomas Goirand <zigo@debian.org>
+Forwarded: no
+Last-Update: 2016-07-20
+
+--- horizon-10.0.0~b2.orig/horizon/test/settings.py
++++ horizon-10.0.0~b2/horizon/test/settings.py
+@@ -170,3 +170,10 @@ LOGGING = {
+         }
+     }
+ }
++
++TEMPLATES = [
++    {
++        'BACKEND': 'django.template.backends.django.DjangoTemplates',
++        'APP_DIRS': True,
++    },
++]
index e6eb47b992f0adc062c5d941a69789366e44a214..73d65d6f980978b217030f6430bbe4d16276d1a3 100644 (file)
@@ -4,3 +4,4 @@ fixed-horizon-MANIFEST.in.patch
 BaseCommand.option_list-is-gone-from-django1.10.patch
 django-1.10-django.conf.urls.patterns-removed.patch
 django-1.10-get_form-form_class-default-value.patch
+django-1.10-define-TEMPLATES.patch