diff options
Diffstat (limited to 'docs/intro/tutorial03.txt')
| -rw-r--r-- | docs/intro/tutorial03.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 8c2bf36725..82d0d85cec 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -121,9 +121,10 @@ like so:: The ``question_id=34`` part comes from ``<int:question_id>``. Using angle brackets "captures" part of the URL and sends it as a keyword argument to the -view function. The ``:question_id>`` part of the string defines the name that -will be used to identify the matched pattern, and the ``<int:`` part is a +view function. The ``question_id`` part of the string defines the name that +will be used to identify the matched pattern, and the ``int`` part is a converter that determines what patterns should match this part of the URL path. +The colon (``:``) separates the converter and pattern name. Write views that actually do something ====================================== |
