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 · WWC Europe 2026

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 · WWC 2022

1:17 min

Implementing API endpoints with restful modeling languages

Nils Hünerberg · WWC 2023

Upcoming sessions on this topic

Open session

World Congress 2026 North America

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

Rustam Mehmandarov

Passionate computer scientist

Rustam Mehmandarov
Open session

World Congress 2026 North America

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

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi
Open session

World Congress 2026 North America

AI-Driven API Design

Mike Amundsen

Author, Adviser, Trainer

Mike Amundsen
Open session

World Congress 2026 North America

Boring Failover: Predictable Region Recovery Across 5,000 Microservices

Sahil Sabharwal, Garvit Kataria

Sahil Sabharwal
Garvit Kataria
Open session

World Congress 2026 North America

Architecting AI in Angular: WebMCP, A2UI, and the Agent Experience

Ankita Sood

Sr. Principal Engineer @ Secureworks | Angular GDE

Ankita Sood