Enrico Massa

Results 18 comments of Enrico Massa

@tomchristie I would like to work on this!

I haven't tried before but I would like to start with a test implementation. I will report any blockers. When would you like to review a PR for DRF?

I opened this PR https://github.com/encode/django-rest-framework/pull/8617 with a tentative implementation of the async support.

As an extension of my PR, I think it would be good to have separate async mixins using the new async API of the queryset and it should be enough...

I can update the PR to make it ""async all-the-way" if it would make it acceptable, I tried to minimise the impact on the existing codebase. I understand the preference...

Thanks @tomchristie for taking this into consideration. I updated the PR https://github.com/encode/django-rest-framework/pull/8617 to have an async dispatch method.

@Archmonger thanks for your comment. I removed the `AsyncAPIView` and done all the changes under `APIView `.

I managed to fix the `to_representation` issue by specifying the `source` parameter on the many to many serializer but there is still an issue on the default json encoding.

I updated the docstring and added support for async function based views.

I also added the documentation under `Views`.