I'm validating a form, and use forms.IntegerField(min_value=0,).
If I submit a -1 value in that field, it throws a TypeError: not all
arguments converted during string formatting.
How come it doesn't raise a forms.ValidationError, and how should I
catch a negative value in this field?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---