[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:
@@ -63,3 +63,10 @@ POLICY_FILES = {
|
||||
'identity': 'keystone_policy.json',
|
||||
'compute': 'nova_policy.json'
|
||||
}
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'APP_DIRS': True,
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user