#5636: fix global name 'set' is not defined python2.3 and auth
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: nobody
Status: new | Component: Uncategorized
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
When using svn and python2.3 ant try top login as user getting an error
global name 'set' is not defined.
To fix need to add at the top into django/contrib/auth/backends.py:
{{{
try:
set
except NameError:
from sets import Set as set # Python 2.3 fallback
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/5636>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---