small change
This commit is contained in:
parent
6c07f6653a
commit
39643fbc3f
@ -65,7 +65,6 @@ def update(id):
|
|||||||
flash("Eintrag erfolgreich geändert")
|
flash("Eintrag erfolgreich geändert")
|
||||||
return redirect(url_for("text.all"))
|
return redirect(url_for("text.all"))
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/text/delete/<int:id>")
|
@bp.route("/text/delete/<int:id>")
|
||||||
def delete(id):
|
def delete(id):
|
||||||
text = db.session.get(Text, id)
|
text = db.session.get(Text, id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user