There are a total of 60 posts.
Published Dec 10, 2025 by whitedec
Understanding the Difference Between _, __, and . in Django ORM: When to Use user_id, user.id, or user__id?
A clear guide to the often‑confusing `_`, `__`, and `.` symbols in Django ORM. It explains the real‑world meaning of `u…
Published Dec 09, 2025 by whitedec
Ensuring Server‑to‑Server Integrity with HMAC Signatures in Django/DRF
Learn how to secure server‑to‑server communication in Django/DRF with HMAC signatures—covering key sharing, timestamp p…
Published Dec 04, 2025 by whitedec
Lightweight Docker Images with Django and Tailwind CSS: A Multi‑Stage Build Strategy
Learn how to keep your Django + Tailwind CSS Docker images lightweight by using a three‑stage multi‑stage build. Node.j…
Published Dec 03, 2025 by whitedec
Safely Storing Secret Keys in Django Models (Fernet Edition)
Learn how to securely store API keys and secrets in Django using Fernet encryption. This guide covers key generation, s…
Using Django ORM’s F Expressions: Powerful Features and Real‑World Examples
Learn how Django's F expressions let you perform database‑level calculations and comparisons, improving performance and…
Published Nov 23, 2025 by whitedec
Understanding `tests.py` for Django Developers
This post summarizes the role and usage of the automatically generated `tests.py` file in Django apps. Explore how to w…
Published Nov 22, 2025 by whitedec
Confronting the Essence of Django - Why `HttpResponse` is the 'Fundamental'
Explore the core reasons and roles of HttpResponse in Django. This article explains how the HttpResponse object connect…
Published Nov 14, 2025 by whitedec
Mastering Text Manipulation in Django - 'django.utils.text'
This post summarizes the core text processing utilities provided by Django's django.utils.text module. It introduces ke…
Published Nov 10, 2025 by whitedec
Reasons to Hide Admin Right Now
This post summarizes the reasons and methods for immediately hiding the admin interface of Django. It serves as a pract…
Published Nov 04, 2025 by whitedec
A Comprehensive Guide to django.core.signing - Preventing Data Tampering
This guide summarizes how to prevent data tampering using Django's django.core.signing module, including various use ca…
Implementing One-Time Tokens and the Pitfalls of `max_age` in Django Signing
This post introduces the limitations of `django.core.signing` and provides examples for implementing one-time tokens us…
Published Jun 18, 2025 by whitedec
In-depth Exploration of Celery's apply_async() and Its Relationship with delay()
An in-depth analysis of the differences between delay() and apply_async() in Celery, along with advanced asynchronous t…
Published Jun 13, 2025 by whitedec
The Magic of Celery: Unveiling the `delay()` Function
Uncover the secrets of the Celery delay() method! Discover how the delay() function enhances your asynchronous tasks sm…
Exploring Class-Based Views (CBV) Series ⑧ - Deep Dive into Pagination and Search Functionality – Extending ListView
This post introduces practical strategies for implementing pagination, search, and sorting functionalities by extending…
Published Jun 11, 2025 by whitedec
Exploring Class-Based Views (CBV) Series ⑦ - Utilizing Mixins and Permission Management
Learn how to modularize common functionalities using Django Mixins and automate permission management with LoginRequire…