Author: mtredinnick
Date: 2007-05-31 20:44:47 -0500 (Thu, 31 May 2007)
New Revision: 5398

Modified:
   django/trunk/django/oldforms/__init__.py
Log:
Fixed #4445 -- Fixed an import problem in one of the Python 2.3-only code
paths. Thanks, Bryan Chow.


Modified: django/trunk/django/oldforms/__init__.py
===================================================================
--- django/trunk/django/oldforms/__init__.py    2007-06-01 01:15:35 UTC (rev 
5397)
+++ django/trunk/django/oldforms/__init__.py    2007-06-01 01:44:47 UTC (rev 
5398)
@@ -782,7 +782,7 @@
         try: 
             import decimal 
         except ImportError:
-            from django.utils import decimal
+            from django.utils import _decimal as decimal
         try: 
             return decimal.Decimal(data) 
         except decimal.InvalidOperation, e: 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to