this post was submitted on 07 Oct 2023
1 points (100.0% liked)

Django

0 readers
1 users here now

Django Project links:
Django Community links:
Learning Django:
Django ecosystem links:
Podcasts:
Related Fediverse communities:
Feeds

founded 1 year ago
MODERATORS
 

I'm curious to know how folks use async Djagno in production. Have you switched a project over? Fully or critical code only? What was your experience like? Was it worth it?

I made an example app to demonstrate superiority in a confined test. I've found it quite awkward converting existing sync views to async. Fetching a limited queryset for json serialization is awkward [x async for x in values]. Some ORM functions, like get_or_create, appear to be just wrappers that call sync_to_async. Django Rest Framework doesn't support async and adrf doesn't support everything.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here