Code

Ticket #5922: 5922-simple-fix.diff

File 5922-simple-fix.diff, 411 bytes (added by Honza_Kral, 6 years ago)
Line 
1diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py
2index f79929e..bd14c9b 100644
3--- a/django/contrib/auth/backends.py
4+++ b/django/contrib/auth/backends.py
5@@ -6,7 +6,7 @@ try:
6 except NameError:
7     from sets import Set as set # Python 2.3 fallback
8       
9-class ModelBackend:
10+class ModelBackend(object):
11     """
12     Authenticate against django.contrib.auth.models.User
13     """