1. Chris Beelby
  2. CherryPy


Chris Beelby  committed ed1cd98

The month parameter in the call to the blog function would actually be '01', not '1' since the URL is parsed as a string

  • Participants
  • Parent commits 8a21a94
  • Branches default

Comments (0)

Files changed (1)

File sphinx/source/concepts/dispatching.rst

View file
  • Ignore whitespace
 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