13 pm, "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 require
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().
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
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().
4 matches
Mail list logo