Ticket #13226: auth.txt.patch

File auth.txt.patch, 747 bytes (added by rokclimb15, 15 years ago)
  • django-trunk/docs/topics/auth.txt

     
    821821    :ref:`authentication-backends`) you can pass a custom authentication form
    822822    to the login view via the ``authentication_form`` parameter. This form must
    823823    accept a ``request`` keyword argument in its ``__init__`` method, and
    824     provide a ``get_user`` argument which returns the authenticated user object
     824    provide a ``get_user`` method which returns the authenticated user object
    825825    (this method is only ever called after successful form validation).
    826826
    827827    .. _forms documentation: ../forms/
Back to Top