Opened 10 years ago
Closed 3 years ago
#24125 closed Bug (wontfix)
TemplateDetailView in admindocs requires a single Django templates engine
Reported by: | Aymeric Augustin | Owned by: | Kai Richard König |
---|---|---|---|
Component: | contrib.admindocs | Version: | dev |
Severity: | Normal | Keywords: | multiple-template-engines |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
TemplateDetailView.get_context_data()
calls Engine.get_default()
which raises ImproperlyConfigured
if zero or several Django templates engines are configured.
This limitation should either be lifted or documented. Gracefully showing an error message would already be better than failing with an uncaught exception.
Change History (10)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Keywords: | 1.8 added |
---|---|
Severity: | Release blocker → Normal |
Triage Stage: | Unreviewed → Accepted |
This view seems pretty obscure and of limited use. I'm going to demote from a release blocker and tag it "1.8" instead so we make sure to document the limitation if no one cares to write a patch by then.
follow-up: 10 comment:4 by , 10 years ago
Keywords: | 1.8 removed |
---|
I don't think so many people will hit this issue that it's even worth documenting.
comment:6 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:8 by , 9 years ago
It was the person working on this ticket who didn't realize the purpose of it.
comment:10 by , 3 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Replying to Tim Graham:
I don't think so many people will hit this issue that it's even worth documenting.
I agree with Tim.
In 511a53b3142551a1bc3093ed1b6655f57634f510: