Allow subclasses of AdminSite to overwrite all admin templates
|Reported by:||pjanderson||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When creating custom admin sites, it is sometimes expected to modify each site's branding, if not the whole look of the custom admin site (by providing custom stylesheets.) AdminSite class allows to overwrite index, login and app_index templates in its subclasses, but not every template.
Would it be possible to allow AdminSite subclasses to define all of its own templates? For example, I changed these three templates to provide custom branding for local, regional and worldwide content managers and administrators, but when viewing application records, default "change_list.html" template is used and it is extending default "base_site.html".
Perhaps I haven't looked at the source code too closely, or maybe there is no way to do that quickly and simply.