mirror of
https://github.com/Hopiu/django.git
synced 2026-03-26 10:50:23 +00:00
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] |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| erroneous_urls.py | ||
| erroneous_views_module.py | ||
| extra_urls.py | ||
| included_named_urls.py | ||
| included_named_urls2.py | ||
| included_namespace_urls.py | ||
| included_urls.py | ||
| included_urls2.py | ||
| middleware.py | ||
| named_urls.py | ||
| namespace_urls.py | ||
| no_urls.py | ||
| reverse_lazy_urls.py | ||
| tests.py | ||
| urlconf_inner.py | ||
| urlconf_outer.py | ||
| urls.py | ||
| urls_error_handlers.py | ||
| urls_error_handlers_callables.py | ||
| urls_without_full_import.py | ||
| views.py | ||
| views_broken.py | ||