Opened 11 years ago
Closed 11 years ago
#21460 closed Bug (fixed)
Bug in cache template loader
Reported by: | Pablo Martín | Owned by: | Pablo Martín |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Release blocker | Keywords: | |
Cc: | unai@… | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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 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.
Change History (7)
comment:1 by , 11 years ago
Has patch: | set |
---|
comment:2 by , 11 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
FWIW, doesn't affect 1.6 branch.
comment:3 by , 11 years ago
Cc: | added |
---|
comment:5 by , 11 years ago
Needs tests: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull requested