Marcio Brambilla, piątek 18 czerwca 2010 15:49:
> Hello,
> thank you for your response, but not doit. So for a new test, I removed the
> validation of the forms of this field and the error still. When trying to
> save just returns this message.
> ----
> ('empty string for float()',)
> ----
> So the error can only be in the mapping of the field, right?
Formencode validation is needed to convert string values from the form into
Python types, so now you're getting a message that an empty string cannot be
converted to float. What is the full error message when using validators, does
it come from formencode or sqlalchemy?
.pk.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.