Skip to main content

Building Secure and Customized REST APIs with Django and DRF

180 minutes


This tutorial explains how to use Django and Django Rest Framework (DRF) to create REST APIs quickly. It covers implementing permissions on endpoints, serving different responses based on user permissions, and adding pagination. Additionally, it includes creating custom endpoints for specific needs. This tutorial suits those building scalable, secure, and customized REST APIs.



Participants in this tutorial will learn the following:

  • How to create REST APIs quickly with Django and Django Rest Framework (DRF)
  • How to implement proper permissions on REST endpoints, allowing admins and specific users to perform different operations on specific resources.
  • How to respond with different data fields based on user permissions, serving tailored data to users with different access levels.
  • How to implement pagination on REST endpoints, optimizing performance for large data sets.
  • How to create custom endpoints for specific use cases, providing flexible and scalable REST APIs that meet specific needs.

The speakers

Kuldeep Pisda

As someone passionate about technology, I have had the privilege of speaking at several international tech conferences, including APIDays India 2022, APISecure 2022, and DjangoCon US 2022. I was honored to have my proposal selected for DjangoCon US 2022, where I could share my insights with a global audience.

While I am grateful for my recognition, I know there is always more to learn and new perspectives to consider. Therefore, I approach each speaking opportunity as a chance to continue my learning and growth, as well as a chance to share my insights with others.

As a speaker, I aim to provide attendees with new ideas, fresh perspectives, and actionable insights. I strive to make my presentations engaging, educational, and thought-provoking, and I am always eager to hear feedback and incorporate new ideas.

I understand that I don't know everything, and I am humbled by the opportunity to learn from others. Being involved in the tech community is an ongoing journey, and I am eager to continue learning and growing however I can.

Vasundhara Shukla

Vasundhara is a Member of Technical Staff - 2 at VMWare where she works as the core developer and maintainer of the Open-source projects of the Tanzu Mission Control portfolio. She is the Founder and Lead Organiser of Google Developers Group, LUCKNOW and a Women Techmakers Ambassador. She has been awarded the Economic Times Campus Stars-2021 which accolades the brightest engineering minds of the country. She enjoys moving around the geography mostly for her community ventures that include conducting workshops and speaking at events.