Django Chapter Index

Introduction

This index lists all 31 chapters in the Hello Code Django track, grouped by topic. Use it to jump to a lesson or compare coverage with frontend/gen_article_plan/django.md.

Prerequisites

  • None—this page is a map, not a lesson

Getting Started (01–05)

#Chapter
01What Is Django
02Django Environment and Installation
03First Django Project
04Project Structure and Settings
05Settings and Multi-Environment

Routing, Views, and Templates (06–08)

#Chapter
06URLs and Routing
07Views: FBV and CBV
08Templates and Static Files

Models, Migrations, Admin, Forms (09–13)

#Chapter
09Models and ORM Basics
10QuerySets and Relationships
11Database Migrations
12Django Admin
13Forms and CSRF

Auth, Middleware, Static, Errors, Tests (14–18)

#Chapter
14User Authentication and Permissions
15Middleware and Signals
16Static and Media Files in Production
17Error Handling and Logging
18Testing Django Applications

REST API (19–20)

#Chapter
19Django REST Framework Basics
20API Auth, CORS, and Frontend

Performance, Security, Deploy (21–24)

#Chapter
21Caching and Performance Intro (Optional)
22Django Security Best Practices
23Deploying With Gunicorn and Nginx
24Django Docker and CI

Projects (25–28)

#Chapter
25Project: Full-Stack Blog (MTV)
26Project: REST API Blog
27Project: Todo App With Authentication
28Project: Production Deployment

Wrap-Up (29–31)

#Chapter
29Django Troubleshooting
30Resources and Book Recommendations
31Django Chapter Index (this page)

Suggested Study Order

Beginner path: 01–18 → 25 → 29

API path: 01–14 → 19–20 → 26 → 23

Production path: 05 → 16–17 → 22–24 → 28 → 29

TrackWhy
MySQLSQL schema behind Django ORM
MongoDBDocument data when schema varies (optional alongside Postgres/MySQL)
RedisCache and sessions at scale
FastAPIJSON API when SPA replaces templates
VueSPA consuming DRF—17, 24, 25

FAQ

Missing a topic?

Check Flask or FastAPI tracks for microframework/API depth.

Plan file location?

Chinese outline: frontend/gen_article_plan/django.md

Report an error in a chapter?

Open an issue in the project repo with chapter filename and suggested fix.