On Sunday, March 12, 2017 at 5:32:53 PM UTC-7, Anthony wrote: > > Oh, well. >> >> Slightly off-topic -- the insert() in the getitem function seems to skip >> the requires=[IS_NOT_IN_DB, ...] my model includes. Is that worth a new >> thread? >> > > The DAL .insert() method doesn't do anything with validators. The > validators in the "requires" attribute are used by SQLFORM. You can also > have them applied when using the DAL .validate_and_insert() or > .validate_and_update() methods. > > Anthony >
Ooops! Thanks for getting me facing in the right direction. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

