Django REST Framework View Sets

Опубликовано: 10 Апрель 2026
на канале: Bryan Berk
1,143
47

🔥 Subscribe to my YouTube + Turn on Notification Bells!
👉    / @bryanberk  

Hey, Bryan here. I share videos that help web developers up their development skills!

Today I'll be sharing a tutorial showing you how to use the View Sets in Django REST Framework.

Here is an overview of the things you will learn in this tutorial project:
1. How view sets work and the types of view sets you have access to.
2. How to use routers to set up URL endpoints with view sets.
3. How to use the base ViewSet class.
4. How to use the ModelViewSet class to quickly build a full CRUD API with very few lines of code.
5. And more!

Timestamps
0:00 - Intro
1:28 - View Sets Overview
4:38 - Initial Setup
7:23 - ViewSet Setup
11:40 - ViewSet List Method
12:46 - ViewSet Create Method
16:11 - ViewSet Retrieve Method
17:45 - ViewSet Update Method
20:35 - ViewSet Partial Update Method
22:09 - ViewSet Destroy Method
23:25 - ModelViewSet
27:37 - Outro

To stay up to date with the best web development content, make sure you subscribe to My YouTube channel Today!

Documentation links used in the video:
Django REST Framework: https://www.django-rest-framework.org/