Posts tagged: django_1

Django DevOps Ansible Infrastructure

🏗️ Terraform + Ansible: Deploy Django Without Manual Server Steps

Manual server setup is unreproducible. Terraform defines infrastructure as code — servers, networks, firewalls. Ansible configures the environment — dependencies, Django deployment, database links, service restarts. Together they make deployment consistent, repeatable, and independent of …

CI/CD Django DevOps GitHub Actions

⚙️ A Working CI Pipeline for Django: What Actually Needs to Run

A Django CI pipeline requires three mandatory stages: tests (pytest/Django runner), linting (Black/flake8), and security scans (bandit/check --deploy). Everything else is optional. This post breaks down why each stage matters and how to configure them …

Django Web Development Frontend HTMX

🧩 HTMX Lets You Skip the Frontend Framework — How It Works

HTMX replaces JavaScript frameworks by having the server return HTML fragments that the browser swaps directly. No JSON APIs. No build steps. Just Django views returning partial templates triggered by HTML attributes.

Django Performance ORM PostgreSQL

⚡ Why Django ORM + PostgreSQL Indexing Defines Query Speed

Indexing is not optional. Without it, PostgreSQL scans entire tables. With it, queries jump straight to rows in logarithmic time. This is how Django developers measure, fix, and maintain fast ORM queries.

CI/CD Git Django DevOps

Staging Is Not Dev: Understanding Git Workflows and Environments

One of the biggest confusions for junior developers: where do I code, where do I test, and how does Git fit in? This post breaks down the three environments, the Git workflow that keeps things …