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 |
|---|---|
| 01 | What Is Django |
| 02 | Django Environment and Installation |
| 03 | First Django Project |
| 04 | Project Structure and Settings |
| 05 | Settings and Multi-Environment |
Routing, Views, and Templates (06–08)
| # | Chapter |
|---|---|
| 06 | URLs and Routing |
| 07 | Views: FBV and CBV |
| 08 | Templates and Static Files |
Models, Migrations, Admin, Forms (09–13)
| # | Chapter |
|---|---|
| 09 | Models and ORM Basics |
| 10 | QuerySets and Relationships |
| 11 | Database Migrations |
| 12 | Django Admin |
| 13 | Forms and CSRF |
Auth, Middleware, Static, Errors, Tests (14–18)
| # | Chapter |
|---|---|
| 14 | User Authentication and Permissions |
| 15 | Middleware and Signals |
| 16 | Static and Media Files in Production |
| 17 | Error Handling and Logging |
| 18 | Testing Django Applications |
REST API (19–20)
| # | Chapter |
|---|---|
| 19 | Django REST Framework Basics |
| 20 | API Auth, CORS, and Frontend |
Performance, Security, Deploy (21–24)
| # | Chapter |
|---|---|
| 21 | Caching and Performance Intro (Optional) |
| 22 | Django Security Best Practices |
| 23 | Deploying With Gunicorn and Nginx |
| 24 | Django Docker and CI |
Projects (25–28)
| # | Chapter |
|---|---|
| 25 | Project: Full-Stack Blog (MTV) |
| 26 | Project: REST API Blog |
| 27 | Project: Todo App With Authentication |
| 28 | Project: Production Deployment |
Wrap-Up (29–31)
| # | Chapter |
|---|---|
| 29 | Django Troubleshooting |
| 30 | Resources and Book Recommendations |
| 31 | Django 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
Related Tracks
| Track | Why |
|---|---|
| MySQL | SQL schema behind Django ORM |
| MongoDB | Document data when schema varies (optional alongside Postgres/MySQL) |
| Redis | Cache and sessions at scale |
| FastAPI | JSON API when SPA replaces templates |
| Vue | SPA 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.