Opened 10 years ago

Closed 10 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: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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> 10 years ago.
Patch to resolve ImportError in Python 2.3

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Bryan Chow <bryan at verdjn dot com>

Attachment: python2.3-decimal.diff added

Patch to resolve ImportError in Python 2.3

comment:1 Changed 10 years ago by Chris Beaven

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Malcolm Tredinnick

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