예제 #1
0
def delete_author(author_id):
    if db_handler.delete_author(author_id):
        flash('The author successfully removed')
    return redirect(url_for('index'))
예제 #2
0
def delete_author(author_id):
    if db_handler.delete_author(author_id):
        flash('The author successfully removed')
    return redirect(url_for('index'))