diefenbach / django-lfs

An online-shop based on Django
http://www.getlfs.com
BSD 3-Clause "New" or "Revised" License
622 stars 222 forks source link

Decimal vs. Float Fields for Currency #40

Open emilian opened 12 years ago

emilian commented 12 years ago

I think it would be a better idea to change from FloatField to DecimalField for model price fields. Is this something that is planned or at least on the roadmap somewhere?

diefenbach commented 12 years ago

Hi,

yes, this is already addressed on Bitbucket by Maciej, see:

https://bitbucket.org/diefenbach/django-lfs/issue/141/currency-fields-should-use-decimalfield

I let this issue open here too, to have it also on GitHub (which is the active issue tracker of LFS).

Thanks Kai