[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
This commit is contained in:
Thomas Goirand
2016-07-19 09:38:14 +02:00
parent 8c30df2c01
commit cdccf5909e

View File

@@ -63,3 +63,10 @@ POLICY_FILES = {
'identity': 'keystone_policy.json',
'compute': 'nova_policy.json'
}
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
},
]