diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-08 03:09:29 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-08 03:09:29 +0000 |
| commit | a75e58be589c4dcccb7359e47fe307c2007458f4 (patch) | |
| tree | d5305c9e871d8ef31940caee8633854a89c15fe6 | |
| parent | d73c70d1ed34b53c21909f9d772a12bf85504601 (diff) | |
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
| -rw-r--r-- | django/contrib/auth/backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py index f79929e2d2..bd14c9b4b9 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 """ |
