Admin page for checking skip IsA list

This commit is contained in:
Edward Betts 2021-06-25 14:52:06 +02:00
parent a91790b66d
commit e25aaa5ec6
3 changed files with 33 additions and 0 deletions

View file

@ -230,6 +230,11 @@ def redirect_from_root():
def index_page():
return render_template("index.html")
@app.route("/admin/skip_isa")
def admin_skip_isa_list():
q = model.Item.query.join(model.SkipIsA).order_by(model.Item.item_id)
return render_template("admin/skip_isa.html", q=q)
@app.route("/identifier")
def identifier_index():