From a75e58be589c4dcccb7359e47fe307c2007458f4 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sat, 8 Mar 2008 03:09:29 +0000 Subject: [PATCH] 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 --- django/contrib/auth/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py index f79929e2d25..bd14c9b4b9d 100644 --- a/django/contrib/auth/backends.py +++ b/django/contrib/auth/backends.py @@ -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 """