Make template for new django.contrib.admin.sites.AdminSite.app_index() configurable
|Reported by:||jezdez||Owned by:||jezdez|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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).
Change History (10)
Changed 8 years ago by jezdez
comment:1 Changed 8 years ago by jezdez
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 8 years ago by jezdez
- Owner changed from nobody to jezdez
- Status changed from new to assigned
comment:3 Changed 8 years ago by brosner
- Resolution set to fixed
- Status changed from assigned to closed