Get Free Shipping on orders over $49
Learning Django 6, Second Edition : Master templates, forms, security, caching, SEO and cloud deployment - Clara Stein

Learning Django 6, Second Edition

Master templates, forms, security, caching, SEO and cloud deployment

By: Clara Stein

eBook | 31 October 2026

At a Glance

eBook


RRP $65.99

$63.35

or 4 interest-free payments of $15.84 with

 or 

Instant Digital Delivery to your Kobo Reader App

A perfect guidebook to build a complete fully-responsive web app

When you learn Django 6 from this book, you start with an empty folder and end up with a platform that's ready for production, one tested example at a time. To get started, you'll be working with UV models and the ORM, and then you'll move on to views, URL routing, templates, template partials, and HTmx. Then, you validate forms, add authentication and permissions, and protect the site with Django 6's built-in Content Security Policy. Then, you speed things up with Redis caching, hand slow work to the new tasks framework, and push live alerts over WebSockets with Channels. The book also covers stuff that a lot of introductions skip. You connect MongoDB through the official Django backend, give search engines sitemaps, feeds, and structured data, and track events with Google Analytics 4.

Finally, you get hands-on to package everything with Docker, Gunicorn, and nginx, harden it for HTTPS, add health checks and Sentry, and automate releases with GitHub Actions. As a surprise, we have covered to teach you to upgrade an existing project safely to Django 6 and Python 3.14.

Key Learnings

Set up fast, reproducible Django 6 projects with uv and virtual environments.

Design models, relationships and efficient queries with Django's ORM.

Build dynamic interfaces using template partials and htmx, with no heavy JavaScript.

Secure applications with authentication, permissions, CSRF protection and Content Security Policy.

Run background work reliably with Django 6's built-in tasks framework.

Deliver real-time features using async views, Channels and WebSockets.

Integrate MongoDB with the official backend, embedded models and aggregation pipelines.

Improve discoverability with sitemaps, feeds, structured data and Google Analytics 4.

Deploy with Docker, Gunicorn, nginx and HTTPS, backed by health checks and monitoring.

Upgrade older Django projects safely using deprecation warnings and django-upgrade.

Table of Content

Up and Running with Django 6

Django Models and ORM

Views and URL Routing

Templates and Django's Template Language

Forms and Validation

User Authentication and Authorization

Advanced Django Capabilities

Working with MongoDB

Site Maps, RSS Feeds, and SEO

Deployment and Scaling

Upgrading to Django 6

on

More in Software Engineering

The End of Leadership - Barbara Kellerman

eBOOK