The code in controllers is wrapped in web2py with a try except clause that 
automatically commits or rolls back the changes to db. I believe this is 
not the case for modules and an explicit commit is needed there. Try to add 
"db.commit" to your module code.

Reply via email to