Handbook
Django Handbook
Django from request lifecycle to production architecture — ORM and PostgreSQL, auth and DRF, async and Celery, operations, design and interviews. Six volumes, 143 pages, every snippet executed.
- 6
- volumes
- 143
- pages
- 137
- page topics
- A4
- print-ready
- Who it is for
- Python developers moving into Django, up to engineers with about five years of experience preparing for senior Django and system-design interviews.
- Each page has
- a diagram or runnable code, tables, production rules, common mistakes and interview questions.
- Format
- A4 notebook pages. Read them in the browser, print them or save as PDF.
- Updates
- Lifetime access. New and revised volumes appear in your library free.
01The volumes
Buy them together, or one at a time.
Each volume stands on its own. The handbook price covers all of them, and any volume added later.

Volume 1 · 22 pages
Core Django
Request lifecycle, project and settings, URLs, views, templates, forms, models, relationships and a tested mini app.

Volume 2 · 25 pages
ORM, Database & Admin
QuerySets, N+1, aggregation, subqueries, PostgreSQL, constraints, transactions, locks, migrations, managers and the admin.

Volume 3 · 25 pages
Auth, Platform & DRF
Custom users, permissions, sessions, middleware, signals, files, DRF serializers, viewsets, auth, API design, errors and security.

Volume 4 · 22 pages
Async, Celery, Testing & Speed
Caching and Redis, async Django, ASGI, Celery and queue semantics, testing, mocking, profiling, keyset pagination and connections.

Volume 5 · 24 pages
Production Features & Operations
Read replicas, observability, email, i18n, multi-tenancy, audit, payments and webhooks, outbox, reliability, Docker, CI/CD and safe upgrades.

Volume 6 · 25 pages
Architecture, Review & Interviews
Modular monoliths, service layer, DDD, sagas, system design cases, anti-patterns, review checklists, 48 graded interview questions and projects.
02What is inside
Every page, by topic.
137 page topics across 6 volumes, taken from the books' own page titles.
Vol 1 · Core Django22 pages · 21 topics
- 01How to use this book
- 02Django at a glance
- 03Project structure
- 04Settings & configuration
- 05URL routing
- 06Function-based views
- 07Class-based views I
- 08Class-based views II
- 09Templates I
- 10Templates II
- 11Forms I
- 12Forms II
- 13Models I
- 14Field types
- 15Choices & enums
- 16Relationships
- 17on_delete
- 18Model methods
- 19More batteries
- 20Mini app
- 21Vol 1 Cheat Sheet
Vol 2 · ORM, Database & Admin25 pages · 24 topics
- 01ORM fundamentals
- 02CRUD methods
- 03Q objects & lookups
- 04F, Value, Case
- 05Database functions
- 06Aggregation & annotation
- 07Subqueries & windows
- 08Raw SQL
- 09QuerySet evaluation
- 10N+1 queries
- 11select_related
- 12prefetch_related
- 13Query projection
- 14PostgreSQL with Django
- 15Constraints & indexes
- 16Transactions
- 17Row locks
- 18Concurrency & races
- 19Migrations
- 20Safe migrations
- 21Managers & QuerySets
- 22Django admin I
- 23Django admin II
- 24Vol 2 Cheat Sheet
Vol 3 · Auth, Platform & DRF25 pages · 24 topics
- 01Authentication I
- 02Authentication II
- 03Authorization
- 04Sessions & cookies
- 05Middleware
- 06Signals
- 07Transactions + signals
- 08Static files
- 09Media & uploads
- 10DRF serializers I
- 11DRF serializers II
- 12DRF views
- 13DRF authentication
- 14DRF permissions
- 15DRF filtering
- 16DRF pagination
- 17DRF throttling
- 18API design
- 19API idempotency
- 20API error handling
- 21OpenAPI
- 22Django security I
- 23Django security II
- 24Vol 3 Cheat Sheet
Vol 4 · Async, Celery, Testing & Speed22 pages · 21 topics
- 01Caching I
- 02Caching II
- 03Redis for Django
- 04Async Django
- 05ASGI vs WSGI
- 06Background jobs
- 07Celery I
- 08Celery II
- 09Queue semantics
- 10Testing I
- 11Testing II
- 12Mocking
- 13API testing
- 14Database testing
- 15Contract & integration tests
- 16Performance fundamentals
- 17Performance debugging
- 18Large result sets
- 19Large data operations
- 20Connection management
- 21Vol 4 Cheat Sheet
Vol 5 · Production Features & Operations24 pages · 23 topics
- 01Read replicas
- 02Observability I
- 03Observability II
- 04Structured logging
- 05Email systems
- 06i18n & time zones
- 07Management commands
- 08Exports & imports
- 09Multi-tenancy
- 10Auditing
- 11Soft delete
- 12State machines
- 13Payments & webhooks
- 14Event-driven architecture
- 15Reliability patterns
- 16Linux for Django devs
- 17Networking
- 18Docker for Django
- 19Gunicorn & Uvicorn
- 20CI/CD
- 21Deployment strategies
- 22Safe Django upgrades
- 23Vol 5 Cheat Sheet
Vol 6 · Architecture, Review & Interviews25 pages · 24 topics
- 01Architecture styles
- 02Service layer
- 03Repository pattern
- 04Domain-driven design I
- 05Domain-driven design II
- 06Distributed systems I
- 07Distributed systems II
- 08System design I
- 09System design II
- 10System design III
- 11Multi-instance Django
- 12Anti-patterns I
- 13Anti-patterns II
- 14Code review checklist I
- 15Code review checklist II
- 16Interview Qs I
- 17Interview Qs II
- 18Interview Qs III
- 19Interview Qs IV
- 20Five-year map
- 21Projects I
- 22Projects II
- 23Final checklist
- 24Series Cheat Sheet
03Around it
Learn it, look it up, then keep the handbook.
The same subject is on the site as a course and a cheatsheet. The handbook is the printable version for revision.
- System Design HandbookHLD, LLD, case studies and interview prep, end to end — seven volumes, 170 pages.
- AWS Production HandbookRunning real workloads on AWS — one page per service, plus a second volume on EKS, events, identity, data and AI.
- Python HandbookPure Python from core language and OOP to internals, concurrency, data and AI — four volumes for freshers to 5-year engineers.
- FastAPI HandbookFrom ASGI and Pydantic to auth, async databases, queues, production and architecture — six volumes, 135 pages, every snippet run.
- AI Full-Stack HandbookML foundations, LLMs and RAG, agents, inference, evaluation, security, MLOps and AI system design — seven volumes, 153 pages.
?Questions
Before you start
- What exactly do I get?
- Access to the handbook in your library: every page, readable in the browser and printable as PDF. You pay once; there is no subscription.
- Can I read before I buy?
- Yes. Every volume has free sample pages. Sign in with a free account, open any volume, and the first pages are yours to read.
- Will I get updates?
- Yes. When a volume is revised, or a new volume is added to a handbook you own, it appears in your library at no cost.
- How do I pay?
- UPI, cards and netbanking through Razorpay. You enter an email; sign in with it to read.
- Refunds?
- Digital goods are not refundable once the full book is opened. If a file is broken or not as described, write to us within 7 days and we will fix it or refund you.
Read a few pages first.
Sample pages are free with an account.