1
0
mirror of https://github.com/django/django.git synced 2025-01-23 16:50:41 +00:00
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
..
2013-11-02 23:48:47 -05:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-11-02 23:48:47 -05:00
2013-10-10 16:49:20 -04:00
2013-11-02 23:48:47 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:48:47 -05:00