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

1:42 min

Introduction to the fast API web framework

Sebastián Ramírez · World Congress 2022