Django Models Union Operation

django union querysets

As a developer, I’ve worked extensively with Django, the efficient web framework that makes building web applications a breeze. One common task I often encounter is combining data from different querysets, and that’s where the union operation comes into play. If you’ve ever wanted to merge querysets from the same or even different Django models, … Read more >>

not in Django Filter

django filter not in

As a Python developer, I’ve worked extensively with Django and its ORM. One challenge I often encountered is filtering querysets to exclude certain records, essentially a “not in” filter. While Django’s ORM is powerful, understanding the best ways to implement “not in” queries can save you time and improve your app’s performance. In this article, … Read more >>

Add Items To Shopping Cart Django Python

django shopping cart tutorial

When I first started building e-commerce applications with Django, one of the core features I needed was a shopping cart. Adding items to a cart might seem simple at first, but as you dig deeper, you realize there are several ways to implement it depending on your project’s needs. In this article, I’ll share my … Read more >>

Integrate Payment Gateways in Django

django payment gateway integration

When I first started integrating payment gateways into Django projects, I realized it wasn’t as easy as just plugging in an API key. I’ve come to appreciate how clean, secure, and efficient payment integration is for any business, especially in the market where compliance and user experience are paramount. In this guide, I’ll walk you … Read more >>

Compare Two Integers in Django

django less than

As a Python developer working on various projects for my clients, I came across a scenario where comparing integers is a fundamental task. Whether you’re building a web app, processing user input, or handling backend logic, knowing how to compare numbers efficiently in Django is essential. In this guide, I will share practical methods to … Read more >>

Realtime Chat App using Django

django chat application

As an experienced Python developer, real-time communication apps are ubiquitous, ranging from customer support chats to social networking platforms, and Django provides a robust framework for building such apps efficiently. In this tutorial, I’ll walk you through how to build a real-time chat app in Django. I’ll share practical steps and full source code, so … Read more >>

TypeScript Event Types

Button Events in TypeScript

Recently, while debugging a form click event in one of my TypeScript projects, I observed that when event types aren’t clearly defined, it is challenging to debug events. I wasn’t sure how to correctly define button clicks, key presses, or form submissions. Sometimes my code worked, but I didn’t get autocomplete suggestions or helpful error … Read more >>

AI Model Deployment with Django

tensorflow Django

I’ve been working as a Python developer for many years, and one of the most rewarding experiences has been deploying AI models into real-world applications. While creating machine learning models is exciting, making them accessible to users through a web app is where the magic happens. Django makes it simple to deploy your AI models. … Read more >>

Upload a File in Django

django file upload

As a developer, I’ve worked on many web applications that require handling file uploads. Whether you’re building a job application portal where users upload resumes or a media sharing platform where images and videos are submitted, file uploading is a fundamental feature. Django makes handling file uploads simple once you understand the core concepts. In … Read more >>

Secure Django REST APIs with JWT Authentication using Simple-JWT

tokenobtainpairview

When I first started working with Django REST Framework (DRF), securing APIs was always a critical concern. Over the years, I’ve found JSON Web Tokens (JWT) to be one of the best ways to handle authentication for APIs, especially when scalability and statelessness matter. JWT allows you to transmit user information securely between client and … Read more >>

51 Python Programs

51 PYTHON PROGRAMS PDF FREE

Download a FREE PDF (112 Pages) Containing 51 Useful Python Programs.

pyython developer roadmap

Aspiring to be a Python developer?

Download a FREE PDF on how to become a Python developer.

Let’s be friends

Be the first to know about sales and special discounts.