Add page to list edits.
This commit is contained in:
parent
39d2760ab9
commit
68cf86162b
3 changed files with 44 additions and 0 deletions
4
app.py
4
app.py
|
|
@ -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}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue