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

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.083
BTC 62069.28
ETH 1614.34
USDT 1.00
SBD 0.45