Browse files

Fixed #4888 -- Fixed small confusion in docs/authentication.txt. Than…

…ks, Piotr Lewandowski

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4b610f4 commit bf3c1cf7bf0c44cb6f8efe0e86e9bb7ec28f54d6 @adrianholovaty adrianholovaty committed Sep 15, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/authentication.txt
@@ -992,10 +992,10 @@ Writing an authentication backend
An authentication backend is a class that implements two methods:
-``get_user(id)`` and ``authenticate(**credentials)``.
+``get_user(user_id)`` and ``authenticate(**credentials)``.
-The ``get_user`` method takes an ``id`` -- which could be a username, database
-ID or whatever -- and returns a ``User`` object.
+The ``get_user`` method takes a ``user_id`` -- which could be a username,
+database ID or whatever -- and returns a ``User`` object.
The ``authenticate`` method takes credentials as keyword arguments. Most of
the time, it'll just look like this::

0 comments on commit bf3c1cf

Please sign in to comment.