Skip to content

Concepts#

The subsystems underneath the pages in Guides: cross-cutting pieces (middleware, caching, i18n), and the deeper architecture (ASGI's concurrency model, the Rust runtime, Signals' event bus) worth understanding on its own terms, not just as a how-to.

  • Middleware The request/response pipeline, and how it composes with routing.

  • Email send_mail, backends, console/file backends for development.

  • Messages One-time flash messages across a redirect.

  • Caching In-memory, SQLite, and Redis backends behind one interface.

  • i18n Catalogs, Accept-Language negotiation, pluralization.

  • ASGI async def views, zero migration for existing sync code.

  • Rust runtime A native WSGI server, TLS, and why HTTP/2 stayed out of scope.

  • Signals An opt-in, always-async in-process event bus.

  • Security CSRF, rate limiting, trusted proxies, the error-disclosure standard.

  • Testing TestClient/AsyncTestClient, no real server required.