From 11ebc6479ffda87376b60c9475d33d8120f86368 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 7 Jul 2020 16:23:54 -0700 Subject: Fixed #31791 -- Made technical 404 debug page display the tried URL patterns for Http404. --- docs/ref/urlresolvers.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index 745ee9d6fd..b9af97f790 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -137,6 +137,13 @@ If the URL does not resolve, the function raises a For example, if ``path('users//', ...)`` is the matching pattern, ``route`` will contain ``'users//'``. + .. attribute:: ResolverMatch.tried + + .. versionadded:: 3.2 + + The list of URL patterns tried before the URL either matched one or + exhausted available patterns. + .. attribute:: ResolverMatch.app_name The application namespace for the URL pattern that matches the -- cgit v1.3