django-import-export
django-import-export copied to clipboard
Float and Decimal widgets should use LANGUAGE_CODE
Hi!
When exporting a FloatField, DecimalField, etc. the result uses the . as decimal separator. I was just wondering if instead, it should use the decimal separator for LANGUAGE_CODE defined in settings.py.
https://github.com/django-import-export/django-import-export/blob/master/import_export/widgets.py#L58
What do you think?
+1
Yes, I do not see why not. That would make sense to me, and should be quite an easy fix!
This was added in #1501