"to do" in Flask