[Django]-Python – Single thread executor already being used, would deadlock

0👍

You have a @sync_to_async decorator on an async function. Have you tried removing that?

You could even remove the @async_to_sync decorator too I believe as django can handle async view functions.

@csrf_exempt
async def async_view(request):
👤Atom

Leave a comment