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
This commit is contained in:
Gary Wilson Jr 2008-03-08 03:09:29 +00:00
parent d73c70d1ed
commit a75e58be58
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ try:
except NameError: except NameError:
from sets import Set as set # Python 2.3 fallback from sets import Set as set # Python 2.3 fallback
class ModelBackend: class ModelBackend(object):
""" """
Authenticate against django.contrib.auth.models.User Authenticate against django.contrib.auth.models.User
""" """