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 ee71337 + de06603 commit eea37b9Copy full SHA for eea37b9
routing.rst
@@ -913,6 +913,10 @@ other configuration formats they are defined with the ``defaults`` option:
913
Now, when the user visits ``/blog``, the ``blog_list`` route will match and
914
``$page`` will default to a value of ``1``.
915
916
+.. tip::
917
+
918
+ The default value is allowed to not match the requirement.
919
920
.. warning::
921
922
You can have more than one optional parameter (e.g. ``/blog/{slug}/{page}``),
0 commit comments