Ejemplo n.º 1
0
def delete_book(book_id):
    if db_handler.delete_book(book_id):
        flash('The book successfully removed')
    return redirect(url_for('index'))
Ejemplo n.º 2
0
def delete_book(book_id):
    if db_handler.delete_book(book_id):
        flash('The book successfully removed')
    return redirect(url_for('index'))