from Hacker News

Show HN: I'm trying to bring Async to Django ORM

by privacyonsec on 12/1/21, 10:50 AM with 6 comments

  • by uniqueuid on 12/1/21, 11:05 AM

    Thanks, it's great to see Django adding slowly but surely in all sorts of places.

    By the way, have you looked at tortoise orm, which is a fully async python ORM with very Django-like syntax? [1]

    [1] https://github.com/tortoise/tortoise-orm

  • by samwillis on 12/1/21, 1:33 PM

    Awesome!

    For those of us a little out of the loop, is this implementation being developed with guidance from the core Django devs with a view to adopting into core?

    (I tried to find any references in the Django forums but may have missed them)

    I believe they intend to have native support for async with the ORM, but it’s a monumental feature to add with lots of edge cases. I believe about 50% of Django is it’s ORM.