Tuesday, February 7, 2012

Re: number input format

On Feb 7, 9:48 pm, Vittorino Parenti <vpare...@thundersystems.it>
wrote:
> I know but doesn't work. maybe it's my problem. In input form I see
> '.'.
> Thanks,
> Vittorino.

If I remember correctly, you must also have localize=True for your
form fields. Maybe with correct settings.py this happens
automatically. As said, I don't remember. For more info, see:
https://docs.djangoproject.com/en/dev/topics/i18n/formatting/#locale-aware-input-in-forms

- Anssi

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment