Browse files

Fixed #5922 -- Turned `ModelBackend` authentication backend into a ne…

…w-style class, thanks `Honza_Kral`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d73c70d commit a75e58be589c4dcccb7359e47fe307c2007458f4 @gdub gdub committed Mar 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/auth/backends.py
View
2 django/contrib/auth/backends.py
@@ -6,7 +6,7 @@
except NameError:
from sets import Set as set # Python 2.3 fallback
-class ModelBackend:
+class ModelBackend(object):
"""
Authenticate against django.contrib.auth.models.User
"""

0 comments on commit a75e58b

Please sign in to comment.