mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #36121 -- Allowed customizing the admin site password change form.
This commit is contained in:
parent
c6ace896a2
commit
12b9ef38b3
6 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue