mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Fixed #31791 -- Made technical 404 debug page display the tried URL patterns for Http404.
This commit is contained in:
parent
83dea65ed6
commit
11ebc6479f
5 changed files with 56 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue