Opened 18 years ago
Closed 18 years ago
#4445 closed (fixed)
DecimalField does not work in Python 2.3 due to bad import
| Reported by: | Bryan Chow <bryan at verdjn dot com> | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Core (Other) | 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
oldforms/__init__.py incorrectly attempts to fall back on django.utils.decimal in Python 2.3 instead of django.utils._decimal, resulting in ImportError.
Simple patch is attached.
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | python2.3-decimal.diff added |
|---|
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to resolve ImportError in Python 2.3