Exemplo n.º 1
0
 def load(self):
     return Group.select()
Exemplo n.º 2
0
 def _initData(self):    
     groups = list(Group.select())
     for g in groups:
         setattr(g, "friendModel", FriendModel(parent=self, groupId=g.id))
     self.setAll(groups)    
Exemplo n.º 3
0
 def _initData(self):
     groups = list(Group.select())
     for g in groups:
         setattr(g, "friendModel", FriendModel(parent=self, groupId=g.id))
     self.setAll(groups)
Exemplo n.º 4
0
 def load(self):
     return Group.select()