Esempio n. 1
0
 def load(self):
     return Group.select()
Esempio 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)    
Esempio 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)
Esempio n. 4
0
 def load(self):
     return Group.select()