#8498 closed (fixed)
Make template for new django.contrib.admin.sites.AdminSite.app_index() configurable
Reported by: | Jannis Leidel | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I very much welcome r8474 but think the template used in the new app_index
method needs to be configurable, just like the display_login_form()
and index()
method.
Currently only 'admin/app_index.html'
is allowed and limits the usefulness of inheriting of the AdminSite
class. I stumbled over this while working on the new nfa-aware mobileadmin.
I suggest adding a class attribute (e.g.: app_index_template = None
).
Attachments (1)
Change History (10)
by , 16 years ago
Attachment: | ticket8498-r8486.1.diff added |
---|
comment:1 by , 16 years ago
Has patch: | set |
---|
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Small patch to add support for app_index_template