From 12b9ef38b3ff7f5b8b24a5f42e8923fdb6db44bb Mon Sep 17 00:00:00 2001 From: Mohammadreza Eskandari <33634829+mohammadrezaesk@users.noreply.github.com> Date: Tue, 21 Jan 2025 12:34:35 +0300 Subject: Fixed #36121 -- Allowed customizing the admin site password change form. --- tests/admin_views/customadmin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/admin_views/customadmin.py') 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" -- cgit v1.3