ks in web2py. You may override validations at
> any point and my experience is that it is very useful to do so.
>
> If you wish to enforce a DB constraint which could not be overridden,
> I suppose you might consider doing that in the DB itself.
>
> On Mar 23, 3:45 pm, Jaunx wr
In Example 29 of the "Database Examples" of the Quick Examples
tutorial, the last line of the model definition file (db.py) puts the
following constraint on the purchases.quantity field:
db.purchases.quantity.requires=IS_INT_IN_RANGE(0,10)
In Example 33, the controller for the purchase form (fo
2 matches
Mail list logo