Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…w-style class, thanks `Honza_Kral`.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a75e58be589c4dcccb7359e47fe307c2007458f4 1 parent d73c70d
@gdub gdub authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/auth/
2  django/contrib/auth/
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.