diff --git a/app/mydatabase.db b/app/mydatabase.db index ea8320c..ceb794a 100644 Binary files a/app/mydatabase.db and b/app/mydatabase.db differ 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/')