Ticket #5922: 5922-simple-fix.diff
File 5922-simple-fix.diff, 411 bytes (added by , 17 years ago) |
---|
-
django/contrib/auth/backends.py
diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py index f79929e..bd14c9b 100644
a b try: 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 """