Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4445 -- Fixed an import problem in one of the Python 2.3-only …

…code

paths. Thanks, Bryan Chow.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9a40cfda16b8177a8db4d602ef440092d57533a7 1 parent 603d5cc
Malcolm Tredinnick authored June 01, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/oldforms/__init__.py
2  django/oldforms/__init__.py
@@ -782,7 +782,7 @@ def html2python(data):
782 782
         try: 
783 783
             import decimal 
784 784
         except ImportError:
785  
-            from django.utils import decimal
  785
+            from django.utils import _decimal as decimal
786 786
         try: 
787 787
             return decimal.Decimal(data) 
788 788
         except decimal.InvalidOperation, e: 

0 notes on commit 9a40cfd

Please sign in to comment.
Something went wrong with that request. Please try again.