コード例 #1
0
def todos_delete(todo_id):
    Todo.delete_todo_by_id(_id=todo_id)
    todos = Todo.get_all_todos()
    return render_template("index.html", todos=todos)