diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-07-07 16:23:54 -0700 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-07 06:54:19 +0200 |
commit | 11ebc6479ffda87376b60c9475d33d8120f86368 (patch) | |
tree | ccc77bccff2f90a3b16b887f975e08cbdbcf5419 /docs/ref/urlresolvers.txt | |
parent | 83dea65ed649b5e80111017cd5c476c636872b2d (diff) | |
download | django-11ebc6479ffda87376b60c9475d33d8120f86368.tar.gz |
Fixed #31791 -- Made technical 404 debug page display the tried URL patterns for Http404.
Diffstat (limited to 'docs/ref/urlresolvers.txt')
-rw-r--r-- | docs/ref/urlresolvers.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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/<id>/', ...)`` is the matching pattern, ``route`` will contain ``'users/<id>/'``. + .. 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 |