|
|
|
|
|
by andrewstuart
576 days ago
|
|
Async Django is a bit of a puzzle …. who is it for? People who like synchronous Python can use Django. People who like asynch Python can use Starlette - the async web server also written by the guy who wrote Django. It’s not clear why Django needs to be async, especially when I get the sense there’s developers who like async and developers who prefer synch. It’s a natural fit for Django to fulfill the sync demand and Starlette to fulfill the async. They’re both good. |
|
Django has a batteries-includes approach, benefits from tighter integration of orm, auth, form handling, etc, and has a huge 3rd party ecosystem.
First-class async support in Django allows Django users to avoid jumping through hoops (celery, channels, ...) for longer-running requests, something especially noticable if you're calling any kind of AI service.