Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 412 Bytes

File metadata and controls

7 lines (4 loc) · 412 Bytes

Flask-SQLAlchemy, Part I

It's time for more refactoring! This time, refactor your snack app to use Flask SQLAlchemy. You should have a Snack model to serve as an interface between instances in Python and rows in your snacks table.

Bonus

Research how to handle 404 errors using Flask-SQLAlchemy, and add a 404 page to your app that will get sent if someone tries to find a snack with an invalid id.