예제 #1
0
파일: __init__.py 프로젝트: leonsim/me
 def dig(self, req):
     req.nav = '/dig'
     basic_result = Dig.basic_result()
     gossip_result = Dig.gossip_result()
     hometowns = Dig.all_hometowns()
     hot_tags = Tag.gets(count=3)
     score_cards = Card.gets_by_score()
     return st('/dig.html', **locals())
예제 #2
0
파일: __init__.py 프로젝트: leonsim/me
 def tags(self, req):
     req.nav = '/'
     all_tags = Tag.gets(count=0)
     return st('/tags.html', **locals())