Re: [web2py] Re: IntegrityError('NOT NULL constraint failed:post.message)

2017-04-13 Thread Maurice Waka
Noted. Thanks On Apr 12, 2017 14:20, "Massimo Di Pierro" wrote: > I think the problem is that > > db.post.insert(answers=report) > > should be under > > if form.process().accepted: > > > On Sunday, 2 April 2017 07:30:15 UTC-5, Maurice Waka wrote: >> >> I thought I

[web2py] Re: IntegrityError('NOT NULL constraint failed:post.message)

2017-04-12 Thread Massimo Di Pierro
I think the problem is that db.post.insert(answers=report) should be under if form.process().accepted: On Sunday, 2 April 2017 07:30:15 UTC-5, Maurice Waka wrote: > > I thought I had escaped/ solved this error. But now am stuck. My db.py > code: > > Post = db.define_table('post', >