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