diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-05-17 16:11:11 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-05-17 16:14:23 +0200 |
| commit | 10e397e2631f8b4c3be486dfc922a91c4512684d (patch) | |
| tree | 761a85f1afd786ab288a1b75e421f34a3d0e8bff /docs | |
| parent | b16b72d415808073da0418de93bf32f71ead959d (diff) | |
Fixed #20426 -- Added some extra info to the auth forms.
Thanks to Joel Hansson for the suggestion and Curtis Maloney for the initial
patch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/default.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index e666cded75..8849520b11 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -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. + Takes the ``user`` as the first positional argument. + .. class:: AuthenticationForm 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 A form for allowing a user to change their password. |
