django/tests/urlpatterns_reverse
Grzegorz Nosek 79558c787e 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]
2014-02-15 15:56:04 +01:00
..
__init__.py
erroneous_urls.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
erroneous_views_module.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
extra_urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
included_named_urls.py Whitespace cleanup. 2013-10-10 16:49:20 -04:00
included_named_urls2.py Whitespace cleanup. 2013-10-10 16:49:20 -04:00
included_namespace_urls.py Whitespace cleanup. 2013-10-10 16:49:20 -04:00
included_urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
included_urls2.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
middleware.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
named_urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
namespace_urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
no_urls.py Whitespace cleanup. 2013-10-10 16:49:20 -04:00
reverse_lazy_urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
tests.py Fixed #18373 - improved handling of Resolver404s from views 2014-02-15 15:56:04 +01:00
urlconf_inner.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
urlconf_outer.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
urls.py Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
urls_error_handlers.py Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation. 2013-05-25 16:27:34 -07:00
urls_error_handlers_callables.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
urls_without_full_import.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
views.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
views_broken.py