Skip to content

Add HttpResponse.text #2622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025
Merged

Conversation

cuu508
Copy link
Contributor

@cuu508 cuu508 commented Apr 23, 2025

I have made things!

This PR adds HttpResponse.text and _MonkeyPatchedWSGIResponse.text.

Please see related issue: #2621

cuu508 added 2 commits April 23, 2025 16:16
It was previously in allowlist_todo_django52.txt because
it is a Django 5.2 addition, and was not implemented in django-stubs
yet.

It is now in allowlist.txt because it uses @cached_property,
which stubtest currently doesn't handle
(details: typeddjango#1771)
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sobolevn sobolevn merged commit c3b4a7a into typeddjango:master Apr 24, 2025
36 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.

2 participants