def do_update(self, ids, context={}): print("update_ui") static.make_ui_params_db() return { "next": { "type": "url", "url": "/ui#name=gen_board", }, "flash": "User interface updated successfully", }
def do_update(self, ids, context={}): print("update_db") update_db(custom=True) static.make_ui_params_db() return { "next": { "type": "url", "url": "/ui#name=gen_board", }, "flash": "Database updated successfully", }