Commit a75e58be authored by Gary Wilson Jr's avatar Gary Wilson Jr
Browse files

Fixed #5922 -- Turned `ModelBackend` authentication backend into a new-style...

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


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent d73c70d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ try:
except NameError: 
    from sets import Set as set # Python 2.3 fallback
 	
class ModelBackend:
class ModelBackend(object):
    """
    Authenticate against django.contrib.auth.models.User
    """