Django

1 min read index source

Django

Baseline: Django 6.1 (Aug 2026); 5.2 is the current LTS. See ../../../STACK_BASELINE.md.

ORM and queries

# File Covers
01 01_f_object.md F() — database-side field references, race-free updates
02 02_q_object.md Q() — complex boolean lookups
03 03_bulk_operations.md bulk_create, bulk_update, and what they skip
06 06_models_vs_querysets.md managers, querysets, laziness
11 11_select_related_vs_prefetch_related.md the N+1 fix, and which one to use
09 09_charfield_vs_textfield.md field choice and DB mapping
04 04_proxy_models.md changing behaviour without changing the table

Deeper ORM material: django_orm/ — comprehensive guide, migrations, relationships.

Request lifecycle

# File Covers
07 07_middlewares.md the middleware chain, ordering, writing your own
08 08_signals.md signals, and why they’re often the wrong tool
10 10_settings_py.md settings layout, environments, secrets

APIs and async

# File Covers
05 05_serializers_actions.md serializers and viewset actions
12 12_django_vs_drf.md what DRF adds
13 13_async_django_channels.md async views, ASGI, Channels

Full DRF coverage: drf/ — 16 files on serializers, validation, viewsets, permissions, auth, throttling, pagination, filtering, versioning, OpenAPI.

External resources