Ticket #4445: python2.3-decimal.diff

File 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

  • django/oldforms/__init__.py

     
    782782        try:
    783783            import decimal
    784784        except ImportError:
    785             from django.utils import decimal
     785            from django.utils import _decimal as decimal
    786786        try:
    787787            return decimal.Decimal(data)
    788788        except decimal.InvalidOperation, e:
Back to Top