mirror of https://github.com/django/django.git
Fixed #13226 -- Corrected typo in authentication docs, thanks rokclimb15.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2a6f14b930
commit
dae7d0ba05
|
@ -821,7 +821,7 @@ the following line to your URLconf::
|
|||
:ref:`authentication-backends`) you can pass a custom authentication form
|
||||
to the login view via the ``authentication_form`` parameter. This form must
|
||||
accept a ``request`` keyword argument in its ``__init__`` method, and
|
||||
provide a ``get_user`` argument which returns the authenticated user object
|
||||
provide a ``get_user`` method which returns the authenticated user object
|
||||
(this method is only ever called after successful form validation).
|
||||
|
||||
.. _forms documentation: ../forms/
|
||||
|
|
Loading…
Reference in New Issue