Delete a Blog Post - Django Blog #7

in #diy6 years ago

In this video I'll show you how to delete a blog post using the DeleteView.

Deleting blog posts in Django is pretty simple, but we do need to make a slight modification that differs from the other views we've used so far. Namely, we need to use reverse_lazy redirection after we delete a post.

✅ Watch The Entire Django Blog Playlist
https://bit.ly/3bWN6wj

✅ 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:  

Thank you for using the recommended tag/s. This post has been manually rewarded with BUILD tokens in the form of an upvote. You can buy, stake, and exchange our "BUILD" tokens for steem on steem engine or SteemLeo.

Build-it is a DIY (do it yourself) platform where you can find tons of how-to's, ideas, and advice to create or build something all by yourself. The platform leverages a robust digital token, called the BUILD. The recommended tags required when creating a DIY article are #diy, #build-it. #how-to, or #doityourself. Please subscribe to our HIVE community here and earn extra 'HIVE' tokens.

Chat with us on our discord and telegram channels Discord, Telegram.

Follow @build-it for more updates!