Django
Baseline: Django 6.1 (Aug 2026); 5.2 is the current LTS. See Stack baseline — 2026-2027.
ORM and queries
| # | File | Covers |
|---|---|---|
| 01 | Django F Object | F() — database-side field references, race-free updates |
| 02 | Django Q Object | Q() — complex boolean lookups |
| 03 | Django Bulk Operations Guide | bulk_create, bulk_update, and what they skip |
| 06 | Django Models vs QuerySets: Understanding the Difference | managers, querysets, laziness |
| 11 | select_related vs prefetch_related in Django ORM | the N+1 fix, and which one to use |
| 09 | CharField vs TextField in Django | field choice and DB mapping |
| 04 | Django Proxy Models Guide | changing behaviour without changing the table |
Deeper ORM material: Django ORM — comprehensive guide, migrations, relationships.
Request lifecycle
| # | File | Covers |
|---|---|---|
| 07 | Django middleware | the middleware chain, ordering, writing your own |
| 08 | Django signals | signals, and why they’re often the wrong tool |
| 10 | settings.py | settings layout, environments, secrets |
APIs and async
| # | File | Covers |
|---|---|---|
| 05 | Django Serializers and Actions Guide | serializers and viewset actions |
| 12 | Django vs Django REST Framework (DRF) Guide | what DRF adds |
| 13 | Async Django, Channels, and Async ORM | async views, ASGI, Channels |
Full DRF coverage: DRF — 16 files on serializers, validation, viewsets, permissions, auth, throttling, pagination, filtering, versioning, OpenAPI.