def list():
    queries = Query.all()

    return render_template('query/list.html', queries=queries)
Esempio n. 2
0
 def get(self):
     self.c["queries"] = Query.all()
     self.render("index.html")