mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Added a test for AdminSite.app_index_template; refs #8498.
This commit is contained in:
parent
0674b38ce9
commit
ccf8f1e18f
3 changed files with 13 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from . import models, forms, admin as base_admin
|
|||
|
||||
|
||||
class Admin2(admin.AdminSite):
|
||||
app_index_template = 'custom_admin/app_index.html'
|
||||
login_form = forms.CustomAdminAuthenticationForm
|
||||
login_template = 'custom_admin/login.html'
|
||||
logout_template = 'custom_admin/logout.html'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue