8000 Fixed #32208 -- fixed misinterpretation of "__proxy__" as TypeError. by Blackeyeforreal · Pull Request #13707 · django/django · GitHub
[go: up one dir, main page]

Skip to content

Fixed #32208 -- fixed misinterpretation of "__proxy__" as TypeError. #13707

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

Closed
wants to merge 7 commits into from
Prev Previous commit
Next Next commit
Fixed #32208 -- fixed misinterpretation of "__proxy__" as TypeError.
tweaked exception handling of add built in filter , to support (gettext
_lazy). as previously it was taking it as a TypeError and used to
return a string.
  • Loading branch information
Blackeyeforreal committed Nov 22, 2020
commit ffe204a2ff782c0c666935bceb1132aa8f88b22d
3 changes: 1 addition & 2 deletions django/shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,4 @@ def resolve_url(to, *args, **kwargs):
raise

# Finally, fall back and assume it's a URL
return to

return to
0