Django Runtime Guide
Runtime patterns specific to Django — async ORM, Channels, ASGI, and production quality standards. For generic Python patterns see Module Design Guide, for Django app structure see App Design Guide.
Django async ORM with a-prefixed methods, async for iteration, sync_to_async bridges, and common pitfalls
Channels & ASGIASGI setup, AsyncWebsocketConsumer lifecycle, channel groups, authentication, and URL routing
Django Testingpytest.mark.django_db for async, AsyncClient, WebsocketCommunicator, and sync_to_async test patterns
Quality GatesFoundation, Production, and Enterprise quality levels with Django-specific checks and Prometheus monitoring
Route DebugDiagnose 404 errors from misconfigured DRF routers — logs partial URL pattern matches in DEBUG mode