diff --git a/routing.rst b/routing.rst index 58f3fa28c80..102aef454f0 100644 --- a/routing.rst +++ b/routing.rst @@ -936,6 +936,10 @@ other configuration formats they are defined with the ``defaults`` option: Now, when the user visits ``/blog``, the ``blog_list`` route will match and ``$page`` will default to a value of ``1``. +.. tip:: + + The default value is allowed to not match the requirement. + .. warning:: You can have more than one optional parameter (e.g. ``/blog/{slug}/{page}``),
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: