<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>django on Kuldeep Pisda</title><link>https://kdpisda.in/tag/django/</link><description>Recent content in django on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 10 Apr 2026 10:04:06 +0530</lastBuildDate><atom:link href="https://kdpisda.in/tag/django/index.xml" rel="self" type="application/rss+xml"/><item><title>Building django-rls: From Side Project to Conference Workshop</title><link>https://kdpisda.in/building-django-rls-from-side-project-to-conference-workshop/</link><pubDate>Fri, 10 Apr 2026 10:04:06 +0530</pubDate><guid>https://kdpisda.in/building-django-rls-from-side-project-to-conference-workshop/</guid><description/></item><item><title>DISTINCT ON, LATERAL Joins, and FILTER: PostgreSQL Patterns Every Django Dev Needs</title><link>https://kdpisda.in/distinct-on-lateral-joins-and-filter-postgresql-patterns-every-django-dev-needs/</link><pubDate>Thu, 09 Apr 2026 10:02:54 +0530</pubDate><guid>https://kdpisda.in/distinct-on-lateral-joins-and-filter-postgresql-patterns-every-django-dev-needs/</guid><description/></item><item><title>DjangoDay India 2025: A Dream Finally Taking Shape 🇮🇳</title><link>https://kdpisda.in/djangoday-india-2025-a-dream-finally-taking-shape-2/</link><pubDate>Tue, 21 Oct 2025 14:27:20 +0530</pubDate><guid>https://kdpisda.in/djangoday-india-2025-a-dream-finally-taking-shape-2/</guid><description>&lt;p&gt;When I first walked onto the stage at &lt;a href="https://2022.djangocon.us/tutorials/using-django-for-serving-rest-apis-with/?ref=kdpisda.in"&gt;&lt;strong&gt;DjangoCon US 2022&lt;/strong&gt;&lt;/a&gt;, I had no idea how deeply that experience would shape my next few years.&lt;/p&gt;
&lt;p&gt;I had been working with Django for over five years, building startups, shipping products, teaching teams, and evangelizing the framework that made me fall in love with backend development. But that moment at DjangoCon — meeting people who cared so deeply about an open-source framework and its community — changed how I looked at tech altogether.&lt;/p&gt;</description></item><item><title>Starting a Django Project Without the Headaches</title><link>https://kdpisda.in/starting-a-django-project-without-the-headaches/</link><pubDate>Wed, 01 Oct 2025 13:30:00 +0530</pubDate><guid>https://kdpisda.in/starting-a-django-project-without-the-headaches/</guid><description>&lt;p&gt;Staring at a blank terminal, about to start a new project, can be surprisingly intimidating. I remember my first few times getting completely lost in a jungle of tutorials, each one swearing it had the &amp;ldquo;one true way&amp;rdquo; to set things up. The noise and conflicting advice can make you second guess your very first command before you have even typed it.&lt;/p&gt;
&lt;p&gt;This guide is here to cut through all that. We are going to walk through the initial setup, step by step, and clear up the common sticking points. This is not just about blindly running commands; it is about understanding &lt;em&gt;why&lt;/em&gt; you are doing what you are doing, so you can start your project with confidence.&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>Announcing Kuldeep Pisda's DjangoCon US 2024 Tutorial: Efficient Django – Mastering Asynchronous Tasks with Celery, RabbitMQ, and Redis</title><link>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2024-tutorial-efficient-django-mastering-asynchronous-tasks-with-celery-rabbitmq-and-redis/</link><pubDate>Thu, 01 Aug 2024 09:23:00 +0530</pubDate><guid>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2024-tutorial-efficient-django-mastering-asynchronous-tasks-with-celery-rabbitmq-and-redis/</guid><description>&lt;p&gt;I&amp;rsquo;m excited to announce that I&amp;rsquo;ll be leading an in-depth tutorial at DjangoCon US 2024 titled &lt;strong&gt;&amp;ldquo;Efficient Django: Mastering Asynchronous Tasks with Celery, RabbitMQ, and Redis.&amp;rdquo;&lt;/strong&gt; This session is scheduled for &lt;strong&gt;Sunday, September 22, from 9:30 AM to 1:00 PM EDT&lt;/strong&gt;, and will take place in &lt;strong&gt;Junior Ballroom A1-A2&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-2024-tutorial-efficient-django-mastering-asynchronous-tasks-with-celery-rabbitmq-and-redis/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-2024-tutorial-efficient-django-mastering-asynchronous-tasks-with-celery-rabbitmq-and-redis/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 the dynamic world of web development, efficiently managing high-volume, asynchronous tasks is crucial for building scalable applications. This workshop is meticulously designed for Django developers aiming to enhance their applications&amp;rsquo; performance through effective asynchronous task management. The session combines theoretical insights with hands-on practice, ensuring a comprehensive learning experience.&lt;/p&gt;</description></item><item><title>How to structure the Django Project?</title><link>https://kdpisda.in/how-to-structure-the-django-project-67b052414baa63001bbc0632/</link><pubDate>Thu, 07 Sep 2023 14:06:57 +0530</pubDate><guid>https://kdpisda.in/how-to-structure-the-django-project-67b052414baa63001bbc0632/</guid><description>&lt;p&gt;Django&amp;rsquo;s Command Line Interface (CLI) is a powerful tool for generating well-structured Django projects. However, maintaining that clean structure can become challenging as we create multiple apps, models, views, and routes. In this article, we&amp;rsquo;ll unveil our preferred method for organizing Django projects. This approach has proven invaluable in creating and sustaining an organized and understandable directory structure, even as our Django project evolves and scales.&lt;/p&gt;
&lt;h2 id="the-default-structure"&gt;The Default Structure&lt;a class="heading-anchor" href="#the-default-structure" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;project/
|-- app/
| |-- migrations/
| | |-- __init__.py
| |-- __init__.py
| |-- admin.py
| |-- apps.py
| |-- models.py
| |-- tests.py
| |-- views.py
|-- project/
| |-- __init__.py
| |-- settings.py
| |-- urls.py
| |-- asgi.py
| |-- wsgi.py
|-- manage.py
|-- requirements.txt
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When we create an app in Django, a folder is made with the name of the app, and typically, it consists of a &lt;code&gt;migrations&lt;/code&gt; folder and several files to configure the admin, models, tests, and views.&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>