Tutorials on making DRF async and async APITestCase unit tests #8225
Unanswered
markjrouse
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to get some tutorials on how I can make my DRF class based modelviews async? Reading the Django docs there is talk of making a view's call() method async but I cannot find any examples of how I would do that.
Also are there any tutorials on making my unit testing of my DRF api calls async? I've been using APITestCase and unittest.mock to run and patch various tests, but this doesn't support testing a coroutine.
Beta Was this translation helpful? Give feedback.
All reactions