Opened 18 years ago
Closed 18 years ago
#5636 closed (fixed)
Admin backend uses `set` without the Python 2.3 fallback
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Contrib apps | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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
Attachments (1)
Change History (5)
by , 18 years ago
comment:1 by , 18 years ago
| Has patch: | set |
|---|
comment:2 by , 18 years ago
| Component: | Uncategorized → Contrib apps |
|---|---|
| Summary: | fix global name 'set' is not defined python2.3 and auth → Admin backend uses `set` without the Python 2.3 fallback |
| Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 18 years ago
comment:4 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry, that was me promoting to checkin