Skip to content

Commit

Permalink
[3.0.x] Fixed #31184 -- Clarified URL matching behavior in URL dispat…
Browse files Browse the repository at this point in the history
…cher docs.

Backport of cf493e5 from master
  • Loading branch information
roysmith authored and felixxm committed Jan 24, 2020
1 parent ef22cf4 commit 27739ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/topics/http/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ algorithm the system follows to determine which Python code to execute:
:func:`django.urls.path` and/or :func:`django.urls.re_path` instances.

#. Django runs through each URL pattern, in order, and stops at the first
one that matches the requested URL.
one that matches the requested URL, matching against
:attr:`~django.http.HttpRequest.path_info`.

#. Once one of the URL patterns matches, Django imports and calls the given
view, which is a Python function (or a :doc:`class-based view
Expand Down

0 comments on commit 27739ad

Please sign in to comment.