Re: [Django] #35245: Django freezes on DRF's APIView. (was: Django freezes on async views with asycio.gather and an async ORM call)

4 views
Skip to first unread message

Django

unread,
Feb 26, 2024, 6:28:33 AM2/26/24
to django-...@googlegroups.com
#35245: Django freezes on DRF's APIView.
-------------------------------------+-------------------------------------
Reporter: Luis Grau Martín | Owner: nobody
Maldonado |
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: ORM, async, bug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* resolution: needsinfo => invalid
* summary: Django freezes on async views with asycio.gather and an async
ORM call => Django freezes on DRF's APIView.

Comment:

As far as I'm aware, `APIView` is not async-compatible so you can try to
request a new feature in the Django REST framework.
--
Ticket URL: <https://code.djangoproject.com/ticket/35245#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages