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