Opened 8 years ago

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

Download all attachments as: .zip

Change History (3)

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

Patch to resolve ImportError in Python 2.3

comment:1 Changed 8 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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