mirror of
https://github.com/django/django.git
synced 2025-11-22 12:14:45 +00:00
Fixed #36121 -- Allowed customizing the admin site password change form.
This commit is contained in:
parent
c6ace896a2
commit
12b9ef38b3
6 changed files with 24 additions and 3 deletions
|
|
@ -18,6 +18,7 @@ class Admin2(admin.AdminSite):
|
|||
login_template = "custom_admin/login.html"
|
||||
logout_template = "custom_admin/logout.html"
|
||||
index_template = ["custom_admin/index.html"] # a list, to test fix for #18697
|
||||
password_change_form = forms.CustomAdminPasswordChangeForm
|
||||
password_change_template = "custom_admin/password_change_form.html"
|
||||
password_change_done_template = "custom_admin/password_change_done.html"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue