Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add edit_entry and delete_entry to flaskr #987
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm not sure this addition would really make sense, since flaskr is only supposed to be a really small example for a flask app. I've never needed it (after I got the hang of flask).
Also, the way you handle the parameters is not optimal.
but you should rather use
This should work without changing any other code, but if you want it really clean, you could also edit your functions to start with
and use the variable