WeAreDevelopers LIVE • Apr 18, 2023

How to make REST APIs in Django?

Kuldeep Pisda

Are your APIs fragile and full of boilerplate code? Discover how Django REST Framework uses ViewSets and object-level permissions to rapidly construct robust, secure endpoints.

Pause
Mute Enter Fullscreen
#1 about 9 min

Understanding REST APIs and HTTP request methods

Standardizing endpoint design using HTTP request methods provides consistent access to application resources.

#2 about 6 min

Core components of Django REST framework architecture

Understanding the interactions between serializers, routers, viewsets, and authentication modules simplifies API endpoint creation.

#3 about 7 min

Implementing serializers to convert raw Django models

Utilizing model serializers efficiently transforms database layer objects into standardized JSON representations.

#4 about 7 min

Creating automated endpoints using model viewsets and routers

Combining model viewsets with routers automates the generation of comprehensive route logic without repetitive manual configuration.

#5 about 11 min

Configuring built-in and custom API access permissions

Leveraging built-in permission classes alongside custom object-level access controls protects resources from unauthorized interactions.

#6 about 10 min

Customizing viewsets and responses based on user roles

Overriding default viewset methods allows dynamic adjustment of database queries and response formats based on individual user authorizations.

#7 about 4 min

Customizing the browsable API and writing endpoint tests

Configuring the default browsable interface and writing unit tests ensures reliable endpoint behavior with interactive documentation.

#8 about 5 min

Entering the software industry and optimizing hackathon performance

Building custom open-source boilerplates helps developers overcome time constraints and avoid repetitive failures during technical hackathons.

Matching moments

2:53 min

Structuring modular APIs using the Flask-RESTful extension

Shweta Palande · LIVE

43 sec

Establishing a concrete vision for REST API development

Wekoslav Stefanovski Wekoslav Stefanovski · World Congress 2026 Europe

1:28 min

Overview of Python client libraries and API frameworks

Shweta Palande · LIVE

9:56 min

Final code walk-through and audience Q&A session

Germán Álvarez · LIVE

1:42 min

Introduction to the fast API web framework

Sebastián Ramírez · World Congress 2022

1:17 min

Implementing API endpoints with restful modeling languages

Nils Hünerberg · World Congress 2023

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 25, 2026 · 10:20–10:50

Stage 2

API = Some REST and HTTP, right? RIGHT?!

Rustam Mehmandarov

Passionate computer scientist

Rustam Mehmandarov
Open session

World Congress 2026 North America

September 24, 2026 · 17:30–18:00

Stage 2

From Guesswork to Governance: Data Contracts Bring API Discipline to Apache Kafka

Sandon Jacobs

Senior Developer Advocate at IBM

Sandon Jacobs
Open session

World Congress 2026 North America

September 24, 2026 · 11:40–12:10

Stage 7

Clean Rooms Demystified: Architecture and Patterns for Privacy-Safe Data Collaboration

Anurag Malik

Data Tech Lead @ Intuit

Anurag Malik
Open session

World Congress 2026 North America

September 25, 2026 · 16:10–16:40

Stage 6

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi
Open session

World Congress 2026 North America

September 24, 2026 · 17:30–18:00

Stage 4

Boring Failover: Predictable Region Recovery Across 5,000 Microservices

Garvit Kataria, Sahil Sabharwal

Garvit Kataria
Sahil Sabharwal
Open session

World Congress 2026 North America

September 24, 2026 · 12:50–13:20

Stage 7

Architecting Agentic Apps: WebMCP, A2UI, and Agent Experience

Ankita Sood

Sr. Principal Engineer @ Secureworks | Angular GDE

Ankita Sood