Hello everyone

I came across an issue where my CBV and an automatic ModelForm gave me some
headaches with localization.

The project is localized so a float is 3,2 instead of 3.2 (comma instead of
dot) but the CBV UpdateView didn't handle the localization of the float.
After tracking through the sources I noticed that the attribute localize of
FloatField has to be set manually.

Wouldn't it be sensible to localize the FloatField according to the project
settings instead of having to manually set it in a custom form?

Kind regards
Michael Anckaert
[email protected]
http://www.sinax.be

-- 
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?hl=en.

Reply via email to