diff options
author | Chris Beelby <cmbeelby@gmail.com> | 2012-11-13 15:28:19 -0500 |
---|---|---|
committer | Chris Beelby <cmbeelby@gmail.com> | 2012-11-13 15:28:19 -0500 |
commit | 804e2473fb8bc78736a19f5f5107c3f6a4dbc177 (patch) | |
tree | 3814ed90aefe0082ac2c7a808f9e6b9ab92185c0 | |
parent | 817eda55b22872b9ebc5d5aa7a85daae1fe96314 (diff) | |
download | cherrypy-804e2473fb8bc78736a19f5f5107c3f6a4dbc177.tar.gz |
The month parameter in the call to the blog function would actually be '01', not '1' since the URL is parsed as a string
-rw-r--r-- | sphinx/source/concepts/dispatching.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/source/concepts/dispatching.rst b/sphinx/source/concepts/dispatching.rst index 6e3d78ac..4bf38266 100644 --- a/sphinx/source/concepts/dispatching.rst +++ b/sphinx/source/concepts/dispatching.rst @@ -221,7 +221,7 @@ following code:: So the URL above will be mapped as a call to:: - root.blog('2005', '1', '17') + root.blog('2005', '01', '17') In this case, there is a partial match up to the ``blog`` component. The rest of the URL can't be found in the mounted object tree. In this case, the |