Hacker News new | ask | show | jobs
by bryanh 1590 days ago
This isn’t exactly true. The Django ORM can be used with care in the async views found in FastAPI and Django (see sync_to_async and run_in_threadpool helpers).

Plans exist to make the Django Queryset async, so it’ll be exciting when that day comes!

1 comments

Very true, and I have been following this pull request implementing Async Queryset with interest:

https://github.com/django/django/pull/14843

So far they are only going down the the queryset level, it then uses a thread pool for the db connector, next job would be to support async db connections.