﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21460	Bug in cache template loader	Pablo Martín	Pablo Martín	"In this commit [5154c9f92caa38bd5893320ed72fbc7305233822#diff-aed42ee20a44c4ff4f09eb2b8a6ae870R31] was introduced the next error.

We have the next template loaders in our settings, e.g.:

{{{
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
#     'django.template.loaders.eggs.Loader',
)

TEMPLATE_LOADERS = (('django.template.loaders.cached.Loader', (TEMPLATE_LOADERS)),)

}}}

And e.g. we have overwritten in our proyect templates, the template admin/change_form.html, the [https://github.com/django/django/blob/master/django/template/loaders/cached.py#L40 find_template method of the cache template loader] will return the template admin/change_form.html of {{{django.contrib.admin}}} instead of the template of our project."	Bug	closed	Template system	dev	Release blocker	fixed		unai@…	Ready for checkin	1	0	0	0	0	0
