示例#1
0
def delete_post(post_id):
    """Deletes the specified post from the DB"""
    post = Post.delete_by_id(post_id)
    return redirect('/')