Admin inline templates need blocks
— at Version 7
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 not 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.
Change History
(8)
| Triage Stage: |
Unreviewed → Accepted
|
| milestone: |
1.3
|
| Severity: |
→ Normal
|
| Type: |
→ New feature
|
| Owner: |
changed from Simon Meers to abdulrahman
|
| Status: |
new → assigned
|
| Description: |
modified (diff)
|
I'm fairly certain I've seen a similar ticket floating around before -- if not specifically about edit-inline, then about other aspects of the admin that could be made more modular.
Accepting on the basis that it's a good idea; if anyone knows or discovers the antecedent ticket, feel free to close this one.