diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 7 | ||||
| -rw-r--r-- | docs/releases/6.0.txt | 3 |
2 files changed, 9 insertions, 1 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 diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 0645441c61..03b1c52c1d 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -48,7 +48,8 @@ Minor features :mod:`django.contrib.admindocs` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* The new :attr:`.AdminSite.password_change_form` attribute allows customizing + the form used in the admin site password change view. :mod:`django.contrib.auth` ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
