示例#1
0
文件: Orbit.py 项目: haxel/spaceplace
 def getEntriesForTag(self,tid):        
     return [(tid,n.id,n.title,n.user.id) for n in Term.get(tid).nodes]
示例#2
0
文件: Orbit.py 项目: haxel/spaceplace
 def getGotchisForTag(self,tid):        
     return [n.user for n in Term.get(tid).nodes]
示例#3
0
文件: Orbit.py 项目: haxel/spaceplace
 def getTags(self):
     terms = list(Term.select())
     return terms