예제 #1
0
 def GET(self):
     contents = cms_sqlite_model.get_top_contents(10)
     params = {'listdata':contents}
     return themerender.render('test','test','','',params=params)
예제 #2
0
 def GET(self, path):
     contents = cms_sqlite_model.get_top_contents(10)
     params = {'listdata':contents}
     return themerender.render(path,params=params)