Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit a75e58be589c4dcccb7359e47fe307c2007458f4 1 parent d73c70d
Gary Wilson Jr. authored March 08, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/auth/backends.py
2  django/contrib/auth/backends.py
@@ -6,7 +6,7 @@
6 6
 except NameError: 
7 7
     from sets import Set as set # Python 2.3 fallback
8 8
  	
9  
-class ModelBackend:
  9
+class ModelBackend(object):
10 10
     """
11 11
     Authenticate against django.contrib.auth.models.User
12 12
     """

0 notes on commit a75e58b

Please sign in to comment.
Something went wrong with that request. Please try again.