Skip to content

Conversation

@PedroPerpetua
Copy link
Contributor

I have made things!

This fixes the missing attribute in the test client responses to obtain the wsgi_request. This attribute is often used when using serializers that require the request context (for example, serializers with FileFields).

Related issues

@sobolevn
Copy link
Member

please, fix import location

@PedroPerpetua
Copy link
Contributor Author

please, fix import location

Oops, oversight. Should be fixed now.

@PedroPerpetua PedroPerpetua requested a review from sobolevn March 22, 2025 12:17
@sobolevn sobolevn merged commit a9bc8b6 into typeddjango:master Mar 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

_MonkeyPatchedResponse missing attribute wsgi_request.

2 participants