▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My RU-vid Channel: bit.ly/35Xo9jD bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3sJpeV6
And also, when I add a new event and delete an older event, the ID of the new event changes to a new ID. So when I click on delete, the ID on the url will be an older ID.
Hello. I am a beginner in django and I have problem , when I try to delete an object from my database, the obj.delete() doesn’t work. I go to admin and there the still is
Maybe a noob question but is it safe to delete objects just by passing the Id to a view? I’ve stumbled across a few tutorials stressing the need to perform crud operations strictly via post requests using a csrf token.
If you delete a venue, it appears that all events that use that venue will also be deleted. I was thinking that when we go to delete a venue that is used by one of more events, we should ask the user if he's sure he wants to delete venue because events associated with it will be deleted too. Am I missing something here?
Yeah that would probably be smart :-p though presumably if you want to delete a venue you want to do that SO that it's events will be deleted too...eventually we'll build in the ability to only allow the people who added a venue the ability to delete it