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

1:50 min

Introduction to building APIs with Flask

Teri Eyenike ¡ LIVE

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

2:03 min

Discoverability and structure in traditional REST APIs

Sandon Jacobs Sandon Jacobs ¡ World Congress 2026 North America

Upcoming sessions on this topic

Open session

How We Cut Our API's p99 Latency from Minutes to Under a Second

  • Deepak Agrawal

    Atlassian

    Principal Software Engineer

Open session

How Google built a Consistent, Global Authorization System with Zanzibar (and you can too!)

  • Sohan Maheshwar

    AuthZed

    Lead Developer Advocate

Open session

Beyond File Dumps: Context Engineering for Coding Agents

  • Animesh Dutta

    Arm

    Senior Software Engineer

Open session

Speed or Security? Why Not Both for Your Coding Agents

  • Ajeet Raina

    Docker

    Developer Advocate

Open session

Build a Zero-Cost AI Agent in Your Browser

  • Aishwarya Mathuria

    Adobe

    Computer Scientist

  • Nishant Thakur

    Adobe

    Senior Computer Scientist

Open session

React Under Fire: Rendering Performance for Streaming Agent UIs

  • Abhirupa Mitra

    Slack

    Senior Member of Technical Staff