Tutorials

Learn web development with step-by-step guides

From beginner to advanced — Django, Python, REST APIs, JavaScript, Bootstrap, and more

All Django Python REST API JavaScript Bootstrap Database DevOps Security AI & LLMs
Level: All Levels Beginner Intermediate Advanced

All Tutorials

79 tutorials
Python Advanced
Packaging Python for Production: uv, pyproject, Wheels, Lockfiles, and Private Indexes

Reproducible installs, fast CI, and shared internal libraries. Move from requirements.txt to pyproject and a lockfile, build wheels, publish to a private index, and stop hoping the build resolves the same twice.

19 min · 195
Read
JavaScript Advanced
Modern Front-End Builds for Django: Vite, Asset Hashing, Import Maps, and CSP-Safe Bundles

Wire Vite into Django without adopting a JavaScript framework. Hot reload in development, hashed bundles in production, manifest-driven templates, and no inline scripts to break your CSP.

20 min · 127
Read
DevOps Advanced
HTTP Caching and CDNs for Django: ETags, Cache-Control, Surrogate Keys, and Purging

The fastest request is the one your server never sees. Get Cache-Control right, use ETags without lying, cache pages for logged-in users safely, and purge by tag instead of by URL.

21 min · 171
Read
DevOps Advanced
Infrastructure as Code for Django: Terraform, Ansible, and Reproducible Servers

Stop configuring servers by hand. Provision with Terraform, configure with Ansible, keep secrets out of state, and rebuild any environment from an empty account in under an hour.

18 min · 130
Read
Django Advanced
Usage-Based Billing for Django SaaS: Metering, Aggregation, Stripe Meters, and Invoicing

Per-seat pricing is a counter. Usage pricing is a distributed accounting system. Record events idempotently, aggregate without melting the database, reconcile with Stripe, and make an invoice a customer can verify.

18 min · 173
Read
Django Advanced
GDPR Engineering in Django: Retention, Anonymisation, DSAR Exports, and Audit Trails

Privacy law becomes a schema problem long before it becomes a legal one. Model retention, anonymise without breaking your reports, answer access and erasure requests in code, and keep an audit trail that stands up.

18 min · 164
Read
AI & LLMs Advanced
Evaluating and Guarding LLM Features: Golden Sets, Regression Tests, and Prompt-Injection Defence

You cannot ship what you cannot measure. Build a golden set, score outputs without a human in the loop, catch regressions in CI, and defend against injection with layers that survive a model upgrade.

19 min · 148
Read
AI & LLMs Advanced
Tool-Using AI Agents in Django: Function Calling, MCP, and Safe Execution

A chatbot answers. An agent acts. Wire function calling into Django, run the loop safely, expose your data over MCP, and put the guardrails in place before you hand a model your database.

19 min · 152
Read
Security Advanced
Private Networking for Django Infrastructure with WireGuard: Admin Behind a Tunnel, Not a Password

Take your admin, database and internal tooling off the public internet entirely: WireGuard peers and keys, binding services to the tunnel, restricting Django admin by network, revoking access, the MTU trap, and what a VPN does not solve.

19 min · 241
Read
DevOps Advanced
Self-Hosted Object Storage for Django with MinIO: Buckets, Policies, Durability, and Honest Trade-offs

Run your own S3-compatible storage without fooling yourself about durability: bucket policies and least privilege, presigned URLs, direct browser uploads, why a single node is not a backup, mirroring, lifecycle rules, and when a managed provider wins.

19 min · 247
Read
DevOps Advanced
Hosting Multiple Django Apps on One Server: Traefik Routing, Isolation, and Blast Radius

Run several Django applications on a single machine without them taking each other down: label-driven routing, automatic certificates, network and resource isolation, independent deploys, per-app backups, and knowing when one server is no longer enough.

20 min · 231
Read
Security Advanced
Secrets Management for Django: Env Files, Docker Layers, Git History, and Rotation That Actually Happens

Where secrets leak in a Django deployment and what to do about it: file permissions, environment variables versus files, build arguments baked into image layers, git history you cannot really erase, encrypted-at-rest storage, and a rotation process.

19 min · 248
Read
Missing a topic?

These tutorials are written from real production work, and the best ideas come from readers. Got a suggestion, a correction, or a subject you keep searching for and never find properly explained? Tell us — we read every message, and requested topics move to the front of the queue.

Ready to Build Something?

Check out our premium Django packages and SaaS templates to jumpstart your project.