Re: [web2py] commented behavior IS_INT_IN_RANGE

2010-12-05 Thread Jonathan Lundell
On Dec 5, 2010, at 3:22 PM, Luis Díaz wrote: > in the following statement: > > db.producto.stock.requires = IS_INT_IN_RANGE(0, 999, error_message='Error') > > value of 999 in stock returns me error. > only works with maximum values of 998 > > in gluon.validators > in line 588: > elif self.minimu

[web2py] commented behavior IS_INT_IN_RANGE

2010-12-05 Thread Luis Díaz
in the following statement: db.producto.stock.requires = IS_INT_IN_RANGE(0, 999, error_message='Error') value of 999 in stock returns me error. only works with maximum values of 998 in gluon.validators in line 588: elif self.minimum <= value http://web2pyfacil.blogspot.com/ Facultad de Odontolo