[web2py] Re: non W2p form insert

2016-05-09 Thread Mark Billion
It does indeed On Monday, May 9, 2016 at 10:08:56 AM UTC-4, Niphlod wrote: > > try to prefix yourself with the following situation > > db.define_table('sometable', Field('somefield1'), Field('somefield2')) > > and then request.vars as > > {'somefield1' : 'abcd', 'somefield2' : 'cdef',

[web2py] Re: non W2p form insert

2016-05-09 Thread Niphlod
try to prefix yourself with the following situation db.define_table('sometable', Field('somefield1'), Field('somefield2')) and then request.vars as {'somefield1' : 'abcd', 'somefield2' : 'cdef', '*contents*': 'wxyz'} trying to do db.sometable.validate_and_insert(**request.vars) will give you