Opened 14 years ago
Last modified 12 months ago
#14810 closed
Admin inline templates need blocks — at Initial Version
Reported by: | Simon Meers | Owned by: | Simon Meers |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | template, block, inheritance |
Cc: | Julien Phalip, sehmaschine@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This has been bugging me for years, but I've not spotted a matching ticket as yet. The admin/edit-inline/(stacked|tabular).html
templates do no contain a single {% block %}
, and are therefore quite useless when it comes to template inheritance. It is a common requirement to tweak a small fragment of these templates, but this cannot be done in a DRY manner at present.
I propose tidying up these templates and breaking them down into blocks to solve this. More than happy to write the code, just thought I'd raise it here first to make sure I hadn't missed anything.