Hello list. I want to validate the data in a field of a model.

with this
validators=[MaxValueValidator(14)]
the field is correctly validated

but with this
validators=[MaxValueValidator(14.5)]
always is invalid

Somebody know how use the "MaxValueValidator" when the "max_value" is
a decimal?

thanks for read.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to