We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df56c8e + 85c7c5e commit 16c7ba0Copy full SHA for 16c7ba0
routing.rst
@@ -908,6 +908,10 @@ other configuration formats they are defined with the ``defaults`` option:
908
Now, when the user visits ``/blog``, the ``blog_list`` route will match and
909
``$page`` will default to a value of ``1``.
910
911
+.. tip::
912
+
913
+ The default value is allowed to not match the requirement.
914
915
.. warning::
916
917
You can have more than one optional parameter (e.g. ``/blog/{slug}/{page}``),
0 commit comments