summaryrefslogtreecommitdiff
path: root/tests/admin_views/customadmin.py
diff options
context:
space:
mode:
authorMohammadreza Eskandari <33634829+mohammadrezaesk@users.noreply.github.com>2025-01-21 12:34:35 +0300
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-30 11:19:05 +0000
commit12b9ef38b3ff7f5b8b24a5f42e8923fdb6db44bb (patch)
tree1ed6fbd58e02bee0c86b5d1fc9cbc98e16f5196f /tests/admin_views/customadmin.py
parentc6ace896a2da73356f7c9a655bbe32a0e3ce0435 (diff)
Fixed #36121 -- Allowed customizing the admin site password change form.
Diffstat (limited to 'tests/admin_views/customadmin.py')
-rw-r--r--tests/admin_views/customadmin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_views/customadmin.py b/tests/admin_views/customadmin.py
index 4b30c5c30f..a63d24a9ee 100644
--- a/tests/admin_views/customadmin.py
+++ b/tests/admin_views/customadmin.py
@@ -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"