summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGrzegorz Nosek <root@localdomain.pl>2014-02-15 14:41:01 +0100
committerHonza Král <honza.kral@gmail.com>2014-02-15 15:56:04 +0100
commit79558c787ebfd0fe723acb061a375b19a27f18cd (patch)
treeb16a9c3ba02a78e3c8750449d8ae141a993b5198 /docs
parent8bbdcc76e4a84cde92b8dbfd01581d098bd2187d (diff)
Fixed #18373 - improved handling of Resolver404s from views
When django.core.urlresolvers.resolve was called from a view, failed and the exception was propagated and rendered by technical_404_response, the URL mentioned on the page was the current URL instead of the URL passed to resolve(). Fixed by using the path attribute from the Resolver404 exception instead of request.path_info. Also cleaned up the exceptions to use standard named parameters instead of stuffing a dict in args[0]
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions