Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Flask with SQLAlchemy Basics!
You have completed Flask with SQLAlchemy Basics!
Preview
Use flask-sqlalchemy to create routes for reading, updating, and deleting entries in your pet database.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
The last page, our pet page needs to be
updated to use Flask templating as well.
0:00
When we click on a card,
we're taken to the placeholder
0:01
information instead of
that pet's information.
0:05
Let's start inside index.html.
0:09
Each card is wrapped
inside of an anchor tag.
0:16
Let's update this link to
include the pet's unique id.
0:20
So here we can do, id=pet.id.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up