From cdccf5909e67b612f5b1512740d3eb63f2b8eebe Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 19 Jul 2016 09:38:14 +0200 Subject: [PATCH] [Django 1.10] Define TEMPLATES In Django 1.10, one *must* define TEMPLATES, and set the BACKEND APP_DIRS to True. If this isn't done, the package cannot find its html templates. Change-Id: Ic4d238ad42931d71da00b468c5f9fd205fa9d4e6 --- openstack_auth/tests/settings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openstack_auth/tests/settings.py b/openstack_auth/tests/settings.py index 753a02a..17f59e6 100644 --- a/openstack_auth/tests/settings.py +++ b/openstack_auth/tests/settings.py @@ -63,3 +63,10 @@ POLICY_FILES = { 'identity': 'keystone_policy.json', 'compute': 'nova_policy.json' } + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'APP_DIRS': True, + }, +]