Ticket #5922: 5922-simple-fix.diff

File 5922-simple-fix.diff, 411 bytes (added by Honza Král, 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:  
    66except NameError:
    77    from sets import Set as set # Python 2.3 fallback
    88       
    9 class ModelBackend:
     9class ModelBackend(object):
    1010    """
    1111    Authenticate against django.contrib.auth.models.User
    1212    """
Back to Top