Skip to content

Conversation

@andersk
Copy link
Contributor

@andersk andersk commented Jan 3, 2026

Django’s HttpResponseRedirect does not satisfy the old protocol, because its url property is read-only.

https://github.com/typeddjango/django-stubs/blob/5.2.8/django-stubs/http/response.pyi#L138-L139

Django’s `HttpResponseRedirect` does not satisfy the old protocol,
because its `url` property is read-only.

https://github.com/typeddjango/django-stubs/blob/5.2.8/django-stubs/http/response.pyi#L138-L139

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.99%. Comparing base (ceeab98) to head (1e007f9).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1511      +/-   ##
==========================================
- Coverage   79.00%   78.99%   -0.01%     
==========================================
  Files         354      354              
  Lines       11510    11509       -1     
  Branches      526      526              
==========================================
- Hits         9093     9092       -1     
  Misses       2236     2236              
  Partials      181      181              
Flag Coverage Δ
unittests 78.99% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nijel nijel merged commit d2facfc into python-social-auth:master Jan 3, 2026
13 checks passed
@nijel
Copy link
Member

nijel commented Jan 3, 2026

Merged, thanks for your contribution!

@nijel nijel self-assigned this Jan 3, 2026
@andersk andersk deleted the HttpResponseProtocol.url branch January 3, 2026 10:53
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