How To Delete Items From The Database - Python and Flask #10

in #python6 years ago

In this video I'll show you how to delete items from the database with flask and python.

Deleting database items is pretty simple, we just need to define the thing we want to delete, then delete it, then commit that change, and then redirect to somewhere in the database.

We'll create a route to do that, and pass the friend id thru the url to delete it.

✅ Watch The Entire Flask Playlist
http://bit.ly/2TU96lm

✅ 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

Sort:  

Thanks for sharing your creative and inspirational post on HIVE!



This post got curated by our fellow curator @tibfox and you received a 100% upvote from our non-profit curation service!

Join the official DIYHub community on HIVE and show us more of your amazing work!

Awesome, thanks!