Only Let Manger Delete Event - Django Wednesdays #31

In this video I'll show you how to make sure that only an Event's Manager can delete that event.

As it is now, anyone at all who knows the even ID number, can delete an event by going to the Delete URL for that event (even though there may not be a delete button).

We need to run some code in our delete view to only allow the logged in event.manager to delete an event.

✅ Watch The Entire Django Wednesdays Playlist
https://bit.ly/35Xo9jD

▶️ Get The Code:
http://bit.ly/3sJpeV6

✅ 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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Ecency