Example #1
0
 def index(self,id=id):
     log.debug("in index start")
     services = Service.all().filter_by(list_public=1)
     recent = Service.recent_updates(5)
     self.render('service/service.html',services=services,recent=recent)
Example #2
0
 def index(self):
     c.services = Service.all().filter_by(list_public=1)
     c.recent = Service.recent_updates(5)
     return render('/service/service.html')