Am 25.10.2006 um 00:25 schrieb Jason Davies:
> I am working on an application which deals with monetary values and it
> *really* needs proper support for decimal, fixed-point (as opposed to
> floating-point) values.
>
> See: http://code.djangoproject.com/ticket/2365
>
> Could someone take a look and get this patch approved?
>
> I think we should just distribute decimal.py to maintain Python 2.3
> compatibility.

Oh come on, just let Python 2.3 users install the decimal module from  
SF:

   <http://sourceforge.net/project/showfiles.php? 
group_id=104148&package_id=130611&release_id=291663>

I'd also suggest keeping FloatField as it is (i.e. half-broken,  
depending on DB backend, or fix it to always return floats, but  
that's break backwards compatibility again), deprecate it, and  
introduce the new DecimalField. Only the use of DecimalField would  
require the decimal.py module, same as ImageField requires PIL.

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to