Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #20426 -- Added some extra info to the auth forms.

Thanks to Joel Hansson for the suggestion and Curtis Maloney for the initial
patch.
  • Loading branch information...
commit 10e397e2631f8b4c3be486dfc922a91c4512684d 1 parent b16b72d
@apollo13 apollo13 authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/topics/auth/default.txt
View
5 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.
Please sign in to comment.
Something went wrong with that request. Please try again.