Beispiel #1
0
 class PSView(ModelView):
     datamodel = GenericInterface(PSModel, sess)
     base_permissions = ["can_list", "can_show"]
     list_columns = ["UID", "C", "CMD", "TIME"]
     search_columns = ["UID", "C", "CMD"]
Beispiel #2
0
 class PSView(ModelView):
     datamodel = GenericInterface(PSModel, sess)
     base_permissions = ['can_list', 'can_show']
     list_columns = ['UID', 'C', 'CMD', 'TIME']
     search_columns = ['UID', 'C', 'CMD']