Skip to content
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

Remove bad redirect_chain attributes #1148

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

adamchainz
Copy link
Contributor

I have made things!

redirect_chain is monkey-patched on by the test client. I added it in #1124 . I just spotted there are bad redirect_chain attributes declared on the base HttpResponse and TemplateResponse classes, added in fa718b8. These are not generally there, only the monkey-patching adds them, so we should remove these declarations.

Related issues

Looking at #1085 made me check the history.

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.

Thank you!

@sobolevn sobolevn merged commit 2a17d3f into typeddjango:master Oct 31, 2022
@adamchainz adamchainz deleted the remove_bad_redirect_chain branch October 31, 2022 11:42
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.

3 participants