This conversation explores how to integrate Python’s asyncio with Django Rest Framework by using Django’s sync_to_async utility. Since DRF is still primarily synchronous, asynchronous Django views must wrap synchronous ORM queries, serializers, and DRF functions using sync_to_async to avoid blocking the event loop or introduce similar feature as the package ADRF(3-party package that bring async to django rest framework) but make it in django rest framework.
-- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-rest-framework/e1685812-4a02-415b-9010-4a1cb749b451n%40googlegroups.com.
