News for hackers. Stuff that matters.
Re:Django Ninja – Fast Django REST Framework for Building APIs by samwillis on Saturday February 05, 2022 @12:20PM (#30223317)
No, sorry, did have it right but wasn't clear in my sentence:

Full support for Django and particularly it’s ORM (hard to do with FastAPI as the Django ORM is not yet async and can’t be used with FastAPI)

Will edit to make clear.

Re:Django Ninja – Fast Django REST Framework for Building APIs by bryanh on Saturday February 05, 2022 @01:22PM (#30224012)
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!

Re:Django Ninja – Fast Django REST Framework for Building APIs by samwillis on Saturday February 05, 2022 @01:27PM (#30224068)
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.