Get Free Shipping on orders over $0
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

Paperback | 31 October 2026 | Edition Number 2

At a Glance

Paperback


RRP $123.19

$99.75

19%OFF

or 4 interest-free payments of $24.94 with

 or 

Ships in 5 to 7 business days

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

More in Software Engineering

The Essence of Software Engineering - Cersei Page
Design Patterns : Elements of Reusable Object-Oriented Software - Erich Gamma
Developing Graphics Frameworks with Java and OpenGL - Lee Stemkoski
Coding All-in-One For Dummies : 2nd Edition - Chris Minnick

RRP $69.95

$52.75

25%
OFF
Git : Pocket Guide : A Working Introduction - Richard Silverman

RRP $47.75

$26.75

44%
OFF
Building Microservices : Designing Fine-Grained Systems 2nd Edition - Sam Newman
C# 12 in a Nutshell : The Definitive Reference - Joseph Albahari

RRP $133.00

$64.75

51%
OFF
Go Cookbook : Expert Solutions for Commonly Needed Go Tasks - Sau Sheong Chang
C# 12 Pocket Reference : Instant Help for C# 12 Programmers - Joseph Albahari
The Engineering Leader : Strategies for Scaling Teams and Yourself - Cate Huston
C++ Pocket Reference : POCKET REFERENCES - Kyle Loudon

RRP $47.75

$26.75

44%
OFF
Hacker's Delight - Henry Warren

RRP $97.60

$74.75

23%
OFF
The C++ Programming Language - Bjarne Stroustrup