Update docs/api-guide/testing.md

This commit is contained in:
Asif Saif Uddin 2025-04-28 05:04:21 +00:00 committed by GitHub
parent fab9b80738
commit c76b1ab841
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ This means that setting attributes directly on the request object may not always
request.user = user
response = view(request)
In case you want to test the request having a REST famework's `Request` you have to transform it by-hand before:
If you want to test a request involving the REST frameworks 'Request' object, youll need to manually transform it first:
class DummyView(APIView):
...