Fixed #20426 -- Added some extra info to the auth forms.
Thanks to Joel Hansson for the suggestion and Curtis Maloney for the initial patch.
This commit is contained in:
parent
b16b72d415
commit
10e397e263
|
@ -939,10 +939,15 @@ provides several built-in forms located in :mod:`django.contrib.auth.forms`:
|
||||||
|
|
||||||
A form used in the admin interface to change a user's password.
|
A form used in the admin interface to change a user's password.
|
||||||
|
|
||||||
|
Takes the ``user`` as the first positional argument.
|
||||||
|
|
||||||
.. class:: AuthenticationForm
|
.. class:: AuthenticationForm
|
||||||
|
|
||||||
A form for logging a user in.
|
A form for logging a user in.
|
||||||
|
|
||||||
|
Takes ``request`` as its first positional argument, which is stored on the
|
||||||
|
form instance for use by sub-classes.
|
||||||
|
|
||||||
.. class:: PasswordChangeForm
|
.. class:: PasswordChangeForm
|
||||||
|
|
||||||
A form for allowing a user to change their password.
|
A form for allowing a user to change their password.
|
||||||
|
|
Loading…
Reference in New Issue