From 0e6e134b9b1055f1a61f4ff21cedc2ecf8b36890 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 20 Jul 2016 11:37:41 +0000 Subject: [PATCH] adds django-1.10-define-TEMPLATES.patch Rewritten-From: 0ae4aa3fd1318c317a3ec31ae0f95ada467c74e8 --- xenial/debian/changelog | 1 + .../patches/django-1.10-define-TEMPLATES.patch | 18 ++++++++++++++++++ xenial/debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 xenial/debian/patches/django-1.10-define-TEMPLATES.patch diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 3f66583..fff4428 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -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 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 index 0000000..bc9389e --- /dev/null +++ b/xenial/debian/patches/django-1.10-define-TEMPLATES.patch @@ -0,0 +1,18 @@ +Description: [Django 1.10] Defines TEMPLATES +Author: Thomas Goirand +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, ++ }, ++] diff --git a/xenial/debian/patches/series b/xenial/debian/patches/series index e6eb47b..73d65d6 100644 --- a/xenial/debian/patches/series +++ b/xenial/debian/patches/series @@ -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 -- 2.45.2