def get_template_names(pattern):
dirs = mysettings.TEMPLATE_DIRS + app_template_dirs
if hasattr(mysettings, "TEMPLATES"):
# For Django 1.8
for d in [e["DIRS"] for e in mysettings.TEMPLATES]:
dirs += tuple(d)
Sorry, I was busy. Note, Django 1.8 has Jinja2 template engine as well as DjangoTemplate. Perhaps this is not important, just to keep in mind.
And finaly, pay attention to previous issue.
I've tried to fix it in
get_template_names()
.