Django REST Framework - Generic Views | ListAPIView & RetrieveAPIView
Автор: BugBytes
Загружено: 2024-10-11
Просмотров: 14270
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
⭐Top resource to learn Python - https://datacamp.pxf.io/kOjKkV ⭐
In this video, we'll introduce Generic Views in Django REST Framework - using the ListAPIView and RetrieveAPIView. We'll refactor function-based views to use the generic class-based views.
Starter Code: https://github.com/bugbytes-io/drf-co...
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
02:53 ListAPIView in Django REST Framework generics module
06:35 RetrieveAPIView in Django REST Framework generics module
08:46 Changing lookup url kwarg for RetrieveAPIView
12:12 Changing base queryset for ListAPIViews
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/drf-co...
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Starter Code: https://github.com/bugbytes-io/drf-co...
Generic Views: https://www.django-rest-framework.org...
#python #django #webdevelopment #djangorestframework
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: