Posts tagged: django

django python security owasp

Hardening Django in Production: The Security Fixes That Actually Matter

An exposed .env, an unguarded admin URL, rate limiting that broke per-worker, missing security headers — the holes that show up on every real Django deployment, and the exact Django + Nginx fixes that closed …

django devops github-actions linux

How I Auto-Deploy Django to a Hetzner VM with GitHub Actions

What happens after `git push origin main` on this site: an SSH trip to a Hetzner VM that pulls the repo, installs prod dependencies, runs migrations, collects static files, and restarts Gunicorn. The full GitHub …

django python tutorial models

Scheduled Publishing in Django: Why a Post Hides Itself

This site hides a post unless is_published is True AND published_at is set and in the past. Why? Because a NULL published_at means "never scheduled" — and treating it as "publish now" would surprise you …

django devops security production

When the Scanners Came Knocking: A Production Security Retrospective

What happened when my newly-launched Django portfolio site got hit by automated vulnerability scanners, and the 6 changes I made in response.

django python htmx websockets

Building Real-Time Features with Django, HTMX & WebSockets

How to build live notifications, real-time feeds, and instant updates using Django + HTMX + WebSockets — without a single line of JavaScript framework code.

django architecture erp postgresql

Architecting a Production ERP: Lessons from an 11-Phase Django Build

Database schema evolution, async task pipelines, testing strategies, and business logic patterns from building a production ERP across 11 phases.

django fintech transactions security

Atomic Transactions & Fraud Detection in a Django Fintech Dashboard

Multi-portal authentication, atomic transaction patterns, async PDF generation, and fraud detection — lessons from building a digital wallet with Django.