Django

Code

Changeset 6297

Show
Ignore:
Timestamp:
09/15/07 12:48:59 (1 year ago)
Author:
adrian
Message:

Fixed #4888 -- Fixed small confusion in docs/authentication.txt. Thanks, Piotr Lewandowski

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/authentication.txt

    r6206 r6297  
    993993 
    994994An authentication backend is a class that implements two methods: 
    995 ``get_user(id)`` and ``authenticate(**credentials)``. 
    996  
    997 The ``get_user`` method takes an ``id`` -- which could be a username, database 
    998 ID or whatever -- and returns a ``User`` object. 
     995``get_user(user_id)`` and ``authenticate(**credentials)``. 
     996 
     997The ``get_user`` method takes a ``user_id`` -- which could be a username, 
     998database ID or whatever -- and returns a ``User`` object. 
    999999 
    10001000The  ``authenticate`` method takes credentials as keyword arguments. Most of