<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>django rest framework on Kuldeep Pisda</title><link>https://kdpisda.in/tag/django-rest-framework/</link><description>Recent content in django rest framework on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 08 Dec 2025 13:06:43 +0530</lastBuildDate><atom:link href="https://kdpisda.in/tag/django-rest-framework/index.xml" rel="self" type="application/rss+xml"/><item><title>10 Pragmatic Best Practices for REST API Design That Actually Work</title><link>https://kdpisda.in/10-pragmatic-best-practices-for-rest-api-design-that-actually-work/</link><pubDate>Mon, 08 Dec 2025 13:06:43 +0530</pubDate><guid>https://kdpisda.in/10-pragmatic-best-practices-for-rest-api-design-that-actually-work/</guid><description>&lt;p&gt;I remember the first production API I shipped. It felt like a triumph. Then the first wave of real traffic hit, and the celebration turned into a frantic scramble through logs, chasing a cascade of confusing &lt;code&gt;500&lt;/code&gt; errors. We&amp;rsquo;d built something functional, but we hadn&amp;rsquo;t built it thoughtfully. It&amp;rsquo;s a journey many of us take. A well designed API is the bedrock of a scalable application, but getting it right involves so much more than just exposing database tables over HTTP. It&amp;rsquo;s about crafting a clear, resilient, and intuitive contract between services that developers, real humans like you and me, can actually enjoy using.&lt;/p&gt;</description></item><item><title>Join Kuldeep Pisda at PyConf Hyderabad 2025 for a hands-on workshop on mastering Test-Driven Development in Django using factory_boy and faker</title><link>https://kdpisda.in/join-kuldeep-pisda-at-pyconf-hyderabad-2025-for-a-hands-on-workshop-on-mastering-test-driven-development-in-django-using-factory_boy-and-faker/</link><pubDate>Mon, 17 Feb 2025 17:08:28 +0530</pubDate><guid>https://kdpisda.in/join-kuldeep-pisda-at-pyconf-hyderabad-2025-for-a-hands-on-workshop-on-mastering-test-driven-development-in-django-using-factory_boy-and-faker/</guid><description>&lt;p&gt;I&amp;rsquo;m thrilled to announce that I&amp;rsquo;ll be presenting a hands-on workshop at &lt;strong&gt;PyConf Hyderabad 2025&lt;/strong&gt; titled &lt;strong&gt;&amp;ldquo;Mastering Test-Driven Development in Django: A Comprehensive Guide with&lt;/strong&gt; factory_boy &lt;strong&gt;and&lt;/strong&gt; faker**.&amp;rdquo;** This session is scheduled for &lt;strong&gt;Sunday, February 23, 2025&lt;/strong&gt;, from &lt;strong&gt;11:00 AM to 12:30 PM IST&lt;/strong&gt;, and will be held at the conference venue in Hyderabad.&lt;/p&gt;
&lt;h2 id="session-overview"&gt;Session Overview&lt;a class="heading-anchor" href="#session-overview" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;In the fast-paced world of software development, ensuring code reliability and maintainability is paramount. Test-Driven Development (TDD) has emerged as a pivotal methodology to achieve these goals, promoting the writing of tests before actual code implementation. This approach not only enhances code quality but also facilitates seamless integration and refactoring.&lt;/p&gt;</description></item><item><title>How to make REST APIs in Django using Django-rest-framework?</title><link>https://kdpisda.in/how-to-make-rest-apis-in-django-using-django-rest-framework/</link><pubDate>Fri, 20 Jan 2023 08:58:07 +0530</pubDate><guid>https://kdpisda.in/how-to-make-rest-apis-in-django-using-django-rest-framework/</guid><description>&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;a class="heading-anchor" href="#table-of-contents" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#prerequisites"&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#what-is-django-rest-framework"&gt;What is Django REST Framework?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#understanding-rest-api-principles"&gt;Understanding REST API Principles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#setting-up-your-development-environment"&gt;Setting Up Your Development Environment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#creating-your-django-project"&gt;Creating Your Django Project&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#building-your-first-rest-api"&gt;Building Your First REST API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#implementing-authentication"&gt;Implementing Authentication&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#adding-custom-permissions"&gt;Adding Custom Permissions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#testing-your-api"&gt;Testing Your API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#project-structure"&gt;Project Structure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;a class="heading-anchor" href="#introduction" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Building REST APIs with Django has never been easier thanks to Django REST Framework (DRF). This comprehensive tutorial will guide you through creating a complete RESTful API for a to-do list application from scratch.&lt;/p&gt;</description></item><item><title>Announcing Kuldeep Pisda's DjangoCon US 2022 Tutorial: Mastering Django REST APIs and Admin Panel Customization</title><link>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/</link><pubDate>Tue, 16 Aug 2022 00:00:00 +0530</pubDate><guid>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/</guid><description>&lt;p&gt;I&amp;rsquo;m excited to announce that I&amp;rsquo;ll be leading a comprehensive tutorial at DjangoCon US 2022 titled &lt;strong&gt;&amp;ldquo;Using Django for Serving REST APIs with Permission Control and Customizing the Default Admin Panel.&amp;rdquo;&lt;/strong&gt; This session is scheduled for &lt;strong&gt;Sunday, October 16, from 1:30 PM to 5:00 PM PDT 2022&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class="kg-card kg-bookmark-card"&gt;
 &lt;a class="kg-bookmark-container" href="https://2022.djangocon.us/tutorials/using-django-for-serving-rest-apis-with/?ref=kdpisda.in"&gt;
 &lt;div class="kg-bookmark-content"&gt;
 &lt;div class="kg-bookmark-title"&gt;Using Django for serving REST APIs with permission control and customizing the default admin panel&lt;/div&gt;
 &lt;div class="kg-bookmark-description"&gt;In the session, we will see how we can use Django to serve APIs. Create REST Endpoints quickly with DRF. Implement proper permissions on the REST endpoints, for example, an admin can perform any operation on any data. But a specific user can perform a limited operation on certain specific resources. Respond with different responses as per the defined user’s permission level. For example, the admin will get all the fields in the response, but a normal user will get only a selected field of the model. Implement Pagination on the REST endpoint. Create custom endpoints on the REST Endpoints.&lt;/div&gt;
 &lt;div class="kg-bookmark-metadata"&gt;
 &lt;img class="kg-bookmark-icon" src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/link-icon.svg" alt="" loading="lazy"&gt;
 &lt;span class="kg-bookmark-author"&gt;DjangoCon US&lt;/span&gt;
 &lt;span class="kg-bookmark-publisher"&gt;DjangoCon US&lt;/span&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="kg-bookmark-thumbnail"&gt;&lt;img src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/image.jpg" alt="" loading="lazy"&gt;&lt;/div&gt;
 &lt;/a&gt;
&lt;/figure&gt;

&lt;h2 id="session-overview"&gt;Session Overview&lt;a class="heading-anchor" href="#session-overview" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;In today&amp;rsquo;s rapidly evolving digital landscape, the ability to develop robust and secure APIs is paramount. Equally important is the capacity to manage and customize administrative interfaces to suit specific project requirements. This tutorial is meticulously designed to address both aspects, providing participants with hands-on experience in:&lt;/p&gt;</description></item></channel></rss>