django /

Django

Live map
Snapshotmain · 1a00120

An ASGI request passes through middleware and URL resolution into views, the ORM, templates, and a response.

Click a building or route
Choose a path

Resolve an ASGI request to a view, render its template, and send the response.

System map8 components · 9 connections
130%
Django: a request crosses the whole stack architectureEnter at the ASGI gateway, follow request control across the top, then descend through persistence and rendering.HttpRequest and respon…URL path and URLconfrequest, positional ar…template name and cont…rendered response bodystatus, headers, and b…ASGI handlerMiddlewarechainURL resolverViewModel layerQuerySetDatabasebackendTemplateengine
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

ASGIThe asynchronous protocol between a Python web server and a Django application.

How to study this repo

  1. 1
    Enter through ASGI

    Trace one server request into Django's shared handler machinery.

  2. 2
    Resolve a route

    Follow path matching through nested resolvers to a class-based view.

  3. 3
    Evaluate a QuerySet

    See when a lazy ORM query finally reaches a database backend.