Show Blog Posts Page - Flask Fridays #18

in #python3 years ago

In this video we'll create a page to list all the blog posts in our database. In the last video we added blog posts, in this video we'll show the blog posts.

To list all the blog posts on the page, all we need to do is query the database and return the results to the page, then loop thru those results and show the items from the model that we want on the screen.

✅ Watch The Flask Playlist
https://bit.ly/3ig2eJn

▶️ Get The Code
http://bit.ly/2L1jBl5

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN