Exemplo n.º 1
0
 def failed_events(self):
     paginator, c.failed_events = paginate(FailedEvent, request.params.get('page', 0))
     c.page_list = links.pagelist(paginator.current)
     return render("failed_events")
Exemplo n.º 2
0
 def pending_events(self):
     paginator, c.pending_events = paginate(PendingEvent, request.params.get('page', 0))
     c.page_list = links.pagelist(paginator.current)
     return render("pending_events")