Esempio n. 1
0
 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",
     }
Esempio n. 2
0
 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",
     }
Esempio n. 3
0
 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",
     }