mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13: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] |
||
|---|---|---|
| .. | ||
| app0 | ||
| app1 | ||
| app2 | ||
| app3 | ||
| app4 | ||
| fixtures | ||
| locale | ||
| media | ||
| other_templates | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| default_urls.py | ||
| generic_urls.py | ||
| models.py | ||
| regression_21530_urls.py | ||
| urls.py | ||
| views.py | ||