Example #1
0
 def add(self):  # new
     return render("/titles_add.mako")
Example #2
0
 def show(self, id):
     c.title = meta.Session.query(Title).filter_by(id=id).one()
     return render("/titles_show.mako")
Example #3
0
 def index(self):
     c.titles = meta.Session.query(Title).all()
     return render("/titles_index.mako")