Exemplo n.º 1
0
 def getEntriesForTag(self,tid):        
     return [(tid,n.id,n.title,n.user.id) for n in Term.get(tid).nodes]
Exemplo n.º 2
0
 def getGotchisForTag(self,tid):        
     return [n.user for n in Term.get(tid).nodes]
Exemplo n.º 3
0
 def getTags(self):
     terms = list(Term.select())
     return terms