Ticket #12585: paren.diff
File paren.diff, 670 bytes (added by , 15 years ago) |
---|
-
docs/intro/tutorial03.txt
103 103 104 104 detail(request=<HttpRequest object>, poll_id='23') 105 105 106 The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parenthes is106 The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parentheses 107 107 around a pattern "captures" the text matched by that pattern and sends it as an 108 108 argument to the view function; the ``?P<poll_id>`` defines the name that will be 109 109 used to identify the matched pattern; and ``\d+`` is a regular expression to