Opened 17 years ago

Closed 17 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)

python2.3-decimal.diff (499 bytes ) - added by Bryan Chow <bryan at verdjn dot com> 17 years ago.
Patch to resolve ImportError in Python 2.3

Download all attachments as: .zip

Change History (3)

by Bryan Chow <bryan at verdjn dot com>, 17 years ago

Attachment: python2.3-decimal.diff added

Patch to resolve ImportError in Python 2.3

comment:1 by Chris Beaven, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [5398]) Fixed #4445 -- Fixed an import problem in one of the Python 2.3-only code
paths. Thanks, Bryan Chow.

Note: See TracTickets for help on using tickets.
Back to Top