Mind that DAL(...,auto_import=True) does NOT import validators.

On Jun 3, 12:13 pm, "[email protected]" <[email protected]> wrote:
> Perfect, thanks!
>
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Ross Peoples
> Sent: Friday, June 03, 2011 12:11 PM
> To: [email protected]
> Subject: [web2py] Re: Inserting records using DAL outside of web2py
>
> Setting requires only performs validation with CRUD and SQLFORM. Doing a 
> direct insert does not cause validation to be checked. Try using 
> validate_and_insert() instead of insert().

Reply via email to