Ticket #5636: 5636.diff

File 5636.diff, 487 bytes (added by Wang Chun <wangchun@…>, 8 years ago)
  • django/contrib/auth/backends.py

     
    11from django.db import connection
    22from django.contrib.auth.models import User
    33
     4try:
     5    set
     6except NameError:
     7    from sets import Set as set # Python 2.3 fallback
     8
    49class ModelBackend:
    510    """
    611    Authenticate against django.contrib.auth.models.User
Back to Top