Add page to list edits.

This commit is contained in:
Edward Betts 2019-09-29 09:47:55 +01:00
parent 39d2760ab9
commit 68cf86162b
3 changed files with 44 additions and 0 deletions

4
app.py
View file

@ -484,6 +484,10 @@ def get_other(entity):
return get_labels(other_items)
@app.route("/admin/edits")
def list_edits():
return render_template('list_edits.html', edits=Edit.query)
@app.route("/next/Q<int:item_id>")
def next_page(item_id):
qid = f'Q{item_id}'