mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #36121 -- Allowed customizing the admin site password change form.
This commit is contained in:
committed by
Sarah Boyce
parent
c6ace896a2
commit
12b9ef38b3
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user