Django: no access to database from async function
I am writing tests for my Django application using asyncio and running into a database access issue.
Here is minimal code that reproduces the error:
I am writing tests for my Django application using asyncio and running into a database access issue.
Here is minimal code that reproduces the error: