Add page showing list of series

Resolves: #17
This commit is contained in:
Edward Betts 2023-09-25 14:25:04 +01:00
parent 08a4ffa89f
commit 22067b97e7
4 changed files with 52 additions and 1 deletions

View file

@ -269,6 +269,14 @@ order by num
return database.session.execute(sql)
@app.route("/series")
def list_series() -> str:
"""Page showing list of conference series."""
items = model.Series.query
return flask.render_template("series/list.html", items=items)
@app.route("/speakers")
def top_speakers_page() -> str:
top = top_speakers()