From e5967f8d1087a890bbeb3d7371fc5e58366f27a6 Mon Sep 17 00:00:00 2001 From: Alexander Roidl Date: Tue, 15 Nov 2022 20:32:57 +0100 Subject: [PATCH] delete redirect change --- app/mydatabase.db | Bin 8192 -> 8192 bytes app/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mydatabase.db b/app/mydatabase.db index ea8320cb31aee1ee2c5c3cf19ea2a5f7d94c61e4..ceb794ad3c3e42829c9aabc81b51540328058568 100644 GIT binary patch delta 61 zcmZp0XmFSy&DcIs#+k8wW5ObSHd_Wht|ttW`2;jJ8wl|7u`n<&9-izdX9QyOPA-=- N2Qh*+Z<6z41OWVw4;laf delta 67 zcmZp0XmFSy&Db(g#+k8YW5ObSo^=d@Tu&JIXYv*E*-qvV(AaDyz|O~FBFxS(*-_4j W#Zm~!D3>#5;Xlgodh;eZKSls`ED^Q< diff --git a/app/views.py b/app/views.py index 369f3bd..0a6d671 100755 --- a/app/views.py +++ b/app/views.py @@ -146,7 +146,7 @@ def delete_location(id): if request.method == 'GET': Location.query.filter_by(id=id).delete() db.session.commit() - return redirect(url_for('home')) + return redirect(url_for('list_locations')) @app.route('/books/')