Ticket #5636: 5636.diff
File 5636.diff, 487 bytes (added by , 17 years ago) |
---|
-
django/contrib/auth/backends.py
1 1 from django.db import connection 2 2 from django.contrib.auth.models import User 3 3 4 try: 5 set 6 except NameError: 7 from sets import Set as set # Python 2.3 fallback 8 4 9 class ModelBackend: 5 10 """ 6 11 Authenticate against django.contrib.auth.models.User