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

Remove locale awareness from cleanup quantity methods #128

Closed emilian closed 11 years ago

emilian commented 11 years ago

Fixes the following issue: https://github.com/diefenbach/django-lfs/issues/127

What about the difference between get_clean_quantity_value and get_clean_quantity ?

That is something to look into.

pigletto commented 11 years ago

This patch is not valid as it is possible that value like '1,0' will be passed as quantity and then it will fail with float('1,0')