Is Django async yet?
summary
Django reaches version 5.0 but full async backends remain unfinished: an attempt to convert the REST tutorial shows Django 5.0 supports async views but Django REST Framework lacks async viewsets, renderers, related-field handling and default permissions, forcing many hand-rolled views and broken tests. The conversion relies on bridge helpers (asgiref sync_to_async/async_to_sync), async Postgres drivers like psycopg3, and runs under Gunicorn+Uvicorn; OpenTelemetry auto-instrumentation reveals frequent sync↔async crossings and the conclusion is: promising but not yet production-ready.
AI-written summary · about
chapters (7)
- 0:00Introduction and motivation
- 2:40Async support in Django ecosystem
- 4:24Demo setup and challenges
- 9:04Limitations of async Django
- 10:51OpenTelemetry instrumentation demo
- 14:44Conclusion and future steps
- 16:33Q&A session
related talks
25mTaking Django's ORM Async
45mJust Add Await: Retrofitting Async Into Django
32mAsynchronous Django: Unlocking the Power of Async Programming
27mTaking Django Async
01h 10mJust Add Await: Retrofitting Async Into Django
40mTaking Django Async
26mSync or async? Feel the magic of coroutines and the event loop in Django
23mµDjango, an Asynchronous Microservices Technique with Practical Examples
