From c76b1ab841ab3dbfb44eb8be346cfbe1ea9c8230 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 28 Apr 2025 05:04:21 +0000 Subject: [PATCH] Update docs/api-guide/testing.md --- docs/api-guide/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md index d01b23ce6..d8fe08082 100644 --- a/docs/api-guide/testing.md +++ b/docs/api-guide/testing.md @@ -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 framework’s 'Request' object, you’ll need to manually transform it first: class DummyView(APIView): ...