todo action handler

This commit is contained in:
Yax 2022-02-18 18:26:17 +01:00
parent ed430799f5
commit 04c2d8f685
2 changed files with 3 additions and 1 deletions

View file

@ -60,6 +60,7 @@ def admin_homepage():
@app.route("/web/admin", methods=["POST"])
def admin_action():
flash(request.form.get("comment") + " " + request.form.get("action"))
# TODO process action
# rebuild RSS
#rss.generate()
app.config.get("RSS").generate()
return redirect('/web/admin')