---
title: "#django articles | Hashnode"
description: "Explore 2,957 articles tagged #django on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/django"
---

Tag

# #django

2,957 posts · 7,315 followers

[AI Developer](https://hashnode.com/@lycore) · [20h ago](https://hashnode.com/posts/structured-llm-outputs-pydantic-django/6afcd459c7d39edf63adb6b0)

### [Valid JSON, Wrong Refund: Structured LLM Outputs in Django (Part 7)](https://aidevpro.hashnode.dev/structured-llm-outputs-pydantic-django?utm_source=hashnode&utm_medium=feed)

Constrained decoding guarantees shape, not truth: four validation layers, fact checks through Pydantic validation context, one model for Anthropic and OpenAI schemas, and a retry policy that knows when to stop.

18 min read · [aidevpro.hashnode.dev](https://aidevpro.hashnode.dev/structured-llm-outputs-pydantic-django?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/structured-llm-outputs-pydantic-django/6afcd459c7d39edf63adb6b0)

[Somesh Banerjee](https://hashnode.com/@someshbanerjee) · [1d ago](https://hashnode.com/posts/message-broker-using-rabbit-mq/6afc468150bbc072d1ccc531)

### [Message Broker using Rabbit-mq](https://someshbanerjee.hashnode.dev/message-broker-using-rabbit-mq?utm_source=hashnode&utm_medium=feed)

A beginner's guide to creating a message broker using Rabbit-mq. In this project, we will use python and Rabbit-mq for the message broker.

4 min read · [someshbanerjee.hashnode.dev](https://someshbanerjee.hashnode.dev/message-broker-using-rabbit-mq?utm_source=hashnode&utm_medium=feed)

[Roshan Chaturvedi](https://hashnode.com/@justacademyofficial) · [1d ago](https://hashnode.com/posts/understanding-django-architecture-for-web-development-what-really-happens-behind-the-page/6afc3eaf8856dd112e13c02e)

### [Understanding Django Architecture for Web Development: What Really Happens Behind the Page](https://justacademyofficial.hashnode.dev/understanding-django-architecture-for-web-development-what-really-happens-behind-the-page?utm_source=hashnode&utm_medium=feed)

A friendly, code light tour of how the Django framework turns a browser request into a finished web page

20 min read · [justacademyofficial.hashnode.dev](https://justacademyofficial.hashnode.dev/understanding-django-architecture-for-web-development-what-really-happens-behind-the-page?utm_source=hashnode&utm_medium=feed)

[Linh Fish Dev](https://hashnode.com/@linhfishdev) · [2d ago](https://hashnode.com/posts/django-in-production-19-scaling-more-workers-load-balancing-read-replicas-and-when-you-actually-need-to-scale/6afb1f55cbaab8d905f8561e)

### [Django in Production #19: Scaling — More Workers, Load Balancing, Read Replicas, and When You Actually Need to Scale](https://linhfishdev.hashnode.dev/django-in-production-19-scaling-more-workers-load-balancing-read-replicas-and-when-you-actually-need-to-scale?utm_source=hashnode&utm_medium=feed)

Episode 18 showed you how to deploy with zero downtime, but a single server running 3 Gunicorn workers will hit its limit sooner or later: CPU saturates, requests queue up, and the statistics page get

4 min read · [linhfishdev.hashnode.dev](https://linhfishdev.hashnode.dev/django-in-production-19-scaling-more-workers-load-balancing-read-replicas-and-when-you-actually-need-to-scale?utm_source=hashnode&utm_medium=feed)

[Linh Fish Dev](https://hashnode.com/@linhfishdev) · [3d ago](https://hashnode.com/posts/django-in-production-18-zero-downtime-deploys-blue-green-rolling-migration-order-and-restarts/6af9cd6181e0c6fa357ae7dd)

### [Django in Production #18: Zero-Downtime Deploys — Blue-Green/Rolling, Migration Order and Restarts](https://linhfishdev.hashnode.dev/django-in-production-18-zero-downtime-deploys-blue-green-rolling-migration-order-and-restarts?utm_source=hashnode&utm_medium=feed)

Episode 17 built the CI/CD pipeline: push code to main, tests run, then the deploy goes to the server automatically. But an automatic deploy isn't necessarily a zero-downtime one — restart the app whi

5 min read · [linhfishdev.hashnode.dev](https://linhfishdev.hashnode.dev/django-in-production-18-zero-downtime-deploys-blue-green-rolling-migration-order-and-restarts?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/django-in-production-18-zero-downtime-deploys-blue-green-rolling-migration-order-and-restarts/6af9cd6181e0c6fa357ae7dd)

[Ramesh G R](https://hashnode.com/@ramesh-13) · [4d ago](https://hashnode.com/posts/built-a-real-time-zero-delay-crypto-dashboard-with-binance-websockets-django/6af829eedcfeb716054c06b2)

### [Built a real-time, zero-delay crypto dashboard with Binance WebSockets & Django](https://ramesh13.hashnode.dev/built-a-real-time-zero-delay-crypto-dashboard-with-binance-websockets-django?utm_source=hashnode&utm_medium=feed)

Hey everyone! I got tired of slow, ad-heavy crypto trackers, so I built a clean, ad-free tool called CryptoPulse: 🔗 Live Demo: https://ramesh13.online/crypto/ Quick Highlights: Sub-second live price

1 min read · [ramesh13.hashnode.dev](https://ramesh13.hashnode.dev/built-a-real-time-zero-delay-crypto-dashboard-with-binance-websockets-django?utm_source=hashnode&utm_medium=feed)

[Linh Fish Dev](https://hashnode.com/@linhfishdev) · [6d ago](https://hashnode.com/posts/django-write-create-and-edit-views-twice-as-fast-with-createview-and-updateview-in-5-minutes/6af5d9192bdc8ee1427a5b21)

### [Django: Write Create and Edit Views Twice as Fast with CreateView and UpdateView in 5 Minutes](https://linhfishdev.hashnode.dev/django-write-create-and-edit-views-twice-as-fast-with-createview-and-updateview-in-5-minutes?utm_source=hashnode&utm_medium=feed)

When you need a form to create and edit a record, you don't have to rewrite the familiar GET/POST view pair. Django already ships two class-based views built for exactly this job — CreateView and Upda

5 min read · [linhfishdev.hashnode.dev](https://linhfishdev.hashnode.dev/django-write-create-and-edit-views-twice-as-fast-with-createview-and-updateview-in-5-minutes?utm_source=hashnode&utm_medium=feed)

[SnapDeploy](https://hashnode.com/@SnapDeploy) · [Nov 11](https://hashnode.com/posts/deploy-django-postgres-free-2026/6af3f666731ff27a39c739e1)

### [Django with PostgreSQL on a free container tier: the four files that make it production-ready](https://snapdeploy.hashnode.dev/deploy-django-postgres-free-2026?utm_source=hashnode&utm_medium=feed)

Gunicorn, WhiteNoise, settings from environment variables and a real PostgreSQL: a standard Django project taken to a live URL on a free container tier, with an honest look at where free stops.

7 min read · [snapdeploy.hashnode.dev](https://snapdeploy.hashnode.dev/deploy-django-postgres-free-2026?utm_source=hashnode&utm_medium=feed)

[AI Developer](https://hashnode.com/@lycore) · [Nov 10](https://hashnode.com/posts/opentelemetry-tracing-ai-agents-django/6af396b662b23cd0618a9d4e)

### [Don't Put the Prompt on the Span: Tracing Django AI Agents with OpenTelemetry (Part 6)](https://aidevpro.hashnode.dev/opentelemetry-tracing-ai-agents-django?utm_source=hashnode&utm_medium=feed)

Trace Django AI agents with OpenTelemetry GenAI conventions: PII-safe spans, prompt refs, tail sampling on cost, and debugging a bad answer.

15 min read · [aidevpro.hashnode.dev](https://aidevpro.hashnode.dev/opentelemetry-tracing-ai-agents-django?utm_source=hashnode&utm_medium=feed)

[AI Developer](https://hashnode.com/@lycore) · [Nov 8](https://hashnode.com/posts/llm-cost-per-successful-workflow-django/6af0f5d1811d1e6519dabb91)

### [What Does One Successful AI Workflow Cost? Measuring LLM Spend in Django (Part 5)](https://aidevpro.hashnode.dev/llm-cost-per-successful-workflow-django?utm_source=hashnode&utm_medium=feed)

Divide all LLM spend, failures and retries included, by real business successes. Price prompt caching's three buckets correctly and add a budget guard that fails closed before the call.

18 min read · [aidevpro.hashnode.dev](https://aidevpro.hashnode.dev/llm-cost-per-successful-workflow-django?utm_source=hashnode&utm_medium=feed)
