NNight Purr·1d agoEverything Migrated, Except the SequenceA lesson learned from migrating an existing database and overlooking its sequence state.11 min read·noctilucent.hashnode.dev11A
AAI Developer·1d agoYour Fallback Is an Untested Deploy: Provider Failover in Django (Part 10)Classify provider errors, retry inside one deadline, open a circuit breaker, act on exactly one answer, and refuse to enable any fallback whose prompt version hasn't passed evals and shadow traffic.18 min read·aidevpro.hashnode.dev
AAI Developer·3d agoYour Prompt Change Is a Deploy: Shadow, Canary and Roll Back in Django (Part 9)Pin the model, version the prompt in code, shadow it on real traffic, replay evals, then canary with automatic rollback in Django.18 min read·aidevpro.hashnode.dev
AAI Developer·6d agoHide, Hold or Allow: AI Moderation Helpers in Django (Part 8)Regex filters that only hide what's never innocent, an LLM verdict as a validated Pydantic output with a policy clause and evidence quote, thresholds that fail to a human, and an appeals queue whose overturns become eval cases.18 min read·aidevpro.hashnode.dev
MMuhammad Ahmad·6d agoAn activity log for Django that knows who really clicked, even under impersonationBuilding a Django activity log that records the real user under impersonation, works from Celery and websockets, dedupes views and stays readable.10 min read·mahmadmanzoor.hashnode.dev11A
MMuhammad Ahmad·6d agoExtracting roof measurements from PDFs with LLMs, and why the model is the smallest partA Django pipeline that extracts roof measurements from vendor PDFs with OpenAI and Gemini: local parsing, unit repair, confidence and fallbacks.11 min read·mahmadmanzoor.hashnode.dev2A
AAI Developer·Nov 17Valid JSON, Wrong Refund: Structured LLM Outputs in Django (Part 7)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.dev2D
SSomesh Banerjee·Nov 17Message Broker using Rabbit-mqA 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
RRoshan Chaturvedi·Nov 17Understanding Django Architecture for Web Development: What Really Happens Behind the PageA friendly, code light tour of how the Django framework turns a browser request into a finished web page20 min read·justacademyofficial.hashnode.dev
LLinh Fish Dev·Nov 16Django in Production #19: Scaling — More Workers, Load Balancing, Read Replicas, and When You Actually Need to ScaleEpisode 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 get4 min read·linhfishdev.hashnode.dev1