#27728 closed New feature (fixed)
Allowed overriding admin templatetag's templates.
Reported by: | Raffaele Salmaso | Owned by: | Raffaele Salmaso |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | raffaele.salmaso+djangoproject@…, Collin Anderson | 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 (last modified by )
Refs #11974, #12566, #18957, #19235, #26763
It would be really nice that could be possible to override some templatetag's templates using the "standard" admin patter of admin/app_label/model/template.html
.
actions.html
change_list_results.html
date_hierarchy.html
pagination.html
search_form.html
submit_line.html
and the object_tools blocks which now are hardcoded in change_form.html and change_list.html
Change History (7)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Has patch: | unset |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → New feature |
comment:2 by , 8 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Summary: | Allow overriding admin templatetag's templates. → Allowed overriding admin templatetag's templates. |
Version: | 1.10 → master |
Cleaned up PR => https://github.com/django/django/pull/7840
I made one commit for base templatetag and one commit for each converted templatetag.
It's probably okay. I would start small rather than updating all the tags at once.