[web2py] validators, min and max

2010-02-08 Thread KONTRA, Gergely
Hi! I found another inconsistency in validators: IS_INT_IN_RANGE: IS_INT_IN_RANGE(0,10) does not accepts 10. Yes, this is in the docs, but using using args minimum and maximum, how would one know, that it includes the start/end point? Similarly, IS_LENGTH, IS_DECIMAL_IN_RANGE and so on...?

Re: [web2py] validators, min and max

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 1:15 AM, KONTRA, Gergely wrote: Hi! I found another inconsistency in validators: IS_INT_IN_RANGE: IS_INT_IN_RANGE(0,10) does not accepts 10. Notice that the default error message for this test is, enter a number between 0 and 9, so the user gets a relatively clear