Django

Code

Changeset 4572

Show
Ignore:
Timestamp:
02/25/07 10:11:46 (2 years ago)
Author:
jacob
Message:

Fixed #3504: fixed a missing "self" in the authentication docs. Thanks, Robert Myers.

Files:

Legend:

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

    r4420 r4572  
    814814 
    815815    class MyBackend: 
    816         def authenticate(username=None, password=None): 
     816        def authenticate(self, username=None, password=None): 
    817817            # Check the username/password and return a User. 
    818818 
     
    820820 
    821821    class MyBackend: 
    822         def authenticate(token=None): 
     822        def authenticate(self, token=None): 
    823823            # Check the token and return a User. 
    824824