Hello list. I have a model "PP" with a "float" field "val" and a modelform for this model
For update the data of a existent "PP" I use a form like this Form_for_PP(request,POST, instance=instance) Now my question is, Can I change the initial data for the field "val"? I want to do this: If the value in "val" is 12345.6, the resulting form must to have the value "12.345,6" (the same value, but formatted) I can't find the way to do this when I use an instance. Set an "initial" don't work, the returning value is always the existing in the DB. Somebody can help me? Thanks for read, and sorry for my poor english. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.