Django

Code

Show
Ignore:
Timestamp:
03/07/08 21:09:29 (10 months ago)
Author:
gwilson
Message:

Fixed #5922 -- Turned ModelBackend authentication backend into a new-style class, thanks Honza_Kral.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/backends.py

    r6438 r7201  
    77    from sets import Set as set # Python 2.3 fallback 
    88         
    9 class ModelBackend
     9class ModelBackend(object)
    1010    """ 
    1111    Authenticate against django.contrib.auth.models.User