Skip to content

Commit 37917fc

Browse files
committed
Merge branch '4.4'
* 4.4: Fix issue #12444 (removing irrelevant note)
2 parents 7b276b1 + 5cb38b9 commit 37917fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routing.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,6 @@ Now, when the user visits ``/blog``, the ``blog_list`` route will match and
725725
``/{page}/blog`` is a valid path, but ``page`` will always be required
726726
(i.e. ``/blog`` will not match this route).
727727

728-
.. note::
729-
730-
Routes with optional parameters at the end will not match on requests
731-
with a trailing slash (i.e. ``/blog/`` will not match, ``/blog`` will match).
732-
733728
If you want to always include some default value in the generated URL (for
734729
example to force the generation of ``/blog/1`` instead of ``/blog`` in the
735730
previous example) add the ``!`` character before the parameter name: ``/blog/{!page}``

0 commit comments

Comments
 (0)