Re: [web2py] Re: Inserting records using DAL outside of web2py

2011-06-03 Thread Jim Steil
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

[web2py] Re: Inserting records using DAL outside of web2py

2011-06-03 Thread Massimo Di Pierro
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().

RE: [web2py] Re: Inserting records using DAL outside of web2py

2011-06-03 Thread j...@qlf.com
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

[web2py] Re: Inserting records using DAL outside of web2py

2011-06-03 Thread Ross Peoples
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().