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

On Jun 3, 12:13 pm, "j...@qlf.com" <j...@qlf.com> wrote:
> Perfect, thanks!
>
> From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of 
> Ross Peoples
> Sent: Friday, June 03, 2011 12:11 PM
> To: web2py@googlegroups.com
> 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