Svelte & Django 4 - PUT and DELETE requests / Update Existing films / Delete Existing films

Published: 23 October 2023
on channel: BugBytes
1,797
78

Playlist ▶️:    • Svelte & Django CRUD App  

Github: https://github.com/bugbytes-io/svelte...

In this video, we'll extend our API to include endpoints for PUT and DELETE requests, to update existing films and delete existing films from our application and the database.

We'll see how to perform fetch() requests for these operations, and how to update our Svelte Store when these requests successfully complete.


☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:52 DELETE request to REST Framework to remove films
08:14 PUT request to REST Framework to update films

▶️ Full Playlist:
   • Svelte & Django CRUD App  

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/svelte...
🐦 Twitter:   / bugbytesio  

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Github: https://github.com/bugbytes-io/svelte...
SvelteKit: https://kit.svelte.dev/
Django REST Framework Viewset: https://www.django-rest-framework.org...

#python #django #webdevelopment #svelte #sveltejs