[web2py] Re: SQLFORM cannot save to database

2014-06-28 Thread 黄祥
i understood, thank you. best regards, stifan On Saturday, June 28, 2014 4:15:33 AM UTC+7, Massimo Di Pierro wrote: Just simpler. I always use: form.process() On Friday, 27 June 2014 04:52:03 UTC-5, 黄祥 wrote: On Friday, June 27, 2014 1:04:13 PM UTC+7, Massimo Di Pierro wrote: this:

[web2py] Re: SQLFORM cannot save to database

2014-06-27 Thread Massimo Di Pierro
this: FORM.accepts(form, request.vars): should be SQLFORM.accepts(form,request.post_vars, session) or better form.accepts(request.post_vars, session) or eve better form.process() On Thursday, 26 June 2014 18:24:27 UTC-5, haj...@byteplus.com.ng wrote: Pls can someone help

[web2py] Re: SQLFORM cannot save to database

2014-06-27 Thread 黄祥
On Friday, June 27, 2014 1:04:13 PM UTC+7, Massimo Di Pierro wrote: this: FORM.accepts(form, request.vars): should be SQLFORM.accepts(form,request.post_vars, session) or better form.accepts(request.post_vars, session) or eve better form.process() @massimo: what do you

[web2py] Re: SQLFORM cannot save to database

2014-06-27 Thread Massimo Di Pierro
Just simpler. I always use: form.process() On Friday, 27 June 2014 04:52:03 UTC-5, 黄祥 wrote: On Friday, June 27, 2014 1:04:13 PM UTC+7, Massimo Di Pierro wrote: this: FORM.accepts(form, request.vars): should be SQLFORM.accepts(form,request.post_vars, session) or better