diff options
| author | Mohammadreza Eskandari <33634829+mohammadrezaesk@users.noreply.github.com> | 2025-01-21 12:34:35 +0300 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-30 11:19:05 +0000 |
| commit | 12b9ef38b3ff7f5b8b24a5f42e8923fdb6db44bb (patch) | |
| tree | 1ed6fbd58e02bee0c86b5d1fc9cbc98e16f5196f /docs/ref | |
| parent | c6ace896a2da73356f7c9a655bbe32a0e3ce0435 (diff) | |
Fixed #36121 -- Allowed customizing the admin site password change form.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 311b21ec6e..9fc5744dbd 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2980,6 +2980,13 @@ Templates can override or extend base admin templates as described in Path to a custom template that will be used by the admin site logout view. +.. attribute:: AdminSite.password_change_form + + .. versionadded:: 6.0 + + Subclass of :class:`~django.contrib.auth.forms.PasswordChangeForm` that + will be used by the admin site password change view. + .. attribute:: AdminSite.password_change_template Path to a custom template that will be used by the admin site password |
