Edited docs/authentication.txt changes from [6805]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e5e75b0c52
commit
5d7a18bd2e
|
@ -382,7 +382,7 @@ This example shows how you might use both ``authenticate()`` and ``login()``::
|
||||||
.. admonition:: Calling ``authenticate()`` first
|
.. admonition:: Calling ``authenticate()`` first
|
||||||
|
|
||||||
When you're manually logging a user in, you *must* call
|
When you're manually logging a user in, you *must* call
|
||||||
``authenticate()`` before you call ``login()``; ``authenticate()``
|
``authenticate()`` before you call ``login()``. ``authenticate()``
|
||||||
sets an attribute on the ``User`` noting which authentication
|
sets an attribute on the ``User`` noting which authentication
|
||||||
backend successfully authenticated that user (see the `backends
|
backend successfully authenticated that user (see the `backends
|
||||||
documentation`_ for details), and this information is needed later
|
documentation`_ for details), and this information is needed later
|
||||||
|
|
Loading…
Reference in New Issue