[web2py] Unable to update database entry after compute=lambda r: calculation of some field values in the DB

2018-10-25 Thread mostwanted
I was able to calculate and set some values in the database with compute=lambda r: but when i try to update those entries with SQLFORM() i get an error in the form and nothing is saved! What could be causing this and how can i fix it? *MODEL:* db.define_table('ClientDetails',

[web2py] Unable to update database

2012-12-07 Thread Daniele
I am unable to update entries in my database. I think I have an idea of why this may be, but I'm not sure how to go about fixing this. In my controller, I have: tform = SQLFORM.factory( Field('is_tutor', 'boolean'), *[f for f in db.tutor if f.name.startswith('t_')], table