Kuldeep Pisda
How to make REST APIs in Django?
#1about 8 minutes
Understanding the fundamentals of REST API design
REST provides a standardized set of guidelines for creating web APIs using common HTTP methods like GET, POST, PUT, and DELETE.
#2about 6 minutes
Introducing the core concepts of Django REST Framework
Django REST Framework (DRF) simplifies API development with key components like serializers, routers, viewsets, and permission classes.
#3about 6 minutes
Serializing Django models into JSON with ModelSerializer
The ModelSerializer class in DRF automatically converts complex data types, like Django model instances, into native Python datatypes that can be rendered as JSON.
#4about 6 minutes
Building CRUD endpoints quickly with ViewSets and Routers
Using ModelViewSet and a router allows you to automatically generate a complete set of CRUD endpoints for a model with just a few lines of code.
#5about 11 minutes
Implementing permissions and custom authorization logic
Secure endpoints by using built-in permission classes or creating custom logic with `has_permission` and `has_object_permission` to control access.
#6about 10 minutes
Customizing API responses based on user roles
Override the `get_queryset` and `get_serializer_class` methods in a ViewSet to dynamically change the data and fields returned based on the user's permissions.
#7about 4 minutes
Customizing the Django Admin for better data management
The built-in Django admin can be customized to improve usability with features like custom list displays, search fields, and filters.
#8about 5 minutes
Q&A on starting a developer career and hackathons
The speaker shares personal experiences about getting into tech, the motivation to create, and tips for participating in hackathons.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
04:49 MIN
Using content channels to build an event community
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:54 MIN
Automating video post-production with local scripts
Cat Herding with Lions and Tigers - Christian Heilmann
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
03:28 MIN
Why corporate AI adoption lags behind the hype
What 2025 Taught Us: A Year-End Special with Hung Lee
Featured Partners
Related Videos
Devouring APIs with Python
Shweta Palande
No more Node: Build APIs with Flask and test it with Postman
Teri Eyenike
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
Is Django too Complicated?
Daniel Hepper
API = Some REST and HTTP, right? RIGHT?!
Rustam Mehmandarov
Build your backend using FastAPI
Ashmi Banerjee
Python-Based Data Streaming Pipelines Within Minutes
Bobur Umurzokov
API Design - Getting Started
Alen Pokos
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

RoomPriceGenie
Remote
Intermediate
NumPy
SciPy
React
Django
+5



insidegroup
Canton of Bordeaux-2, France
Remote
€43K
Intermediate
API
DNS
Bash
+9




SQS Software Quality Systems, S.A.
Barcelona, Spain
CSS
GIT
Flask
Django
Python
+10

SQS Software Quality Systems, S.A.
Pamplona, Spain
CSS
GIT
Flask
Django
Python
+10