Opened 8 years ago

Last modified 7 years ago

#27728 closed New feature

Allow overriding admin templatetag's templates. — at Version 1

Reported by: Raffaele Salmaso Owned by: nobody
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 Tim Graham)

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 (1)

comment:1 by Tim Graham, 8 years ago

Description: modified (diff)
Has patch: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

It's probably okay. I would start small rather than updating all the tags at once.

Note: See TracTickets for help on using tickets.
Back to Top