todo action handler
This commit is contained in:
parent
ed430799f5
commit
04c2d8f685
2 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue