예제 #1
0
 def variables(self, variables):
     return model.ItemList(Variable, {'source': self.source},
                           items=variables)
예제 #2
0
 def keywords(self, keywords):
     return model.ItemList(Keyword, items=keywords)
예제 #3
0
 def keywords(self, keywords):
     return model.ItemList(UserKeyword, {'parent': self}, items=keywords)
예제 #4
0
 def user_keywords(self, keywords):
     return model.ItemList(UserKeyword, items=keywords)