diff options
Diffstat (limited to 'docs/intro/tutorial03.txt')
| -rw-r--r-- | docs/intro/tutorial03.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 5adfc9a490..3159ee88c2 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -235,11 +235,11 @@ be used to identify the matched pattern; and ``\d+`` is a regular expression to match a sequence of digits (i.e., a number). Because the URL patterns are regular expressions, there really is no limit on -what you can do with them. And there's no need to add URL cruft such as ``.php`` --- unless you have a sick sense of humor, in which case you can do something -like this:: +what you can do with them. And there's no need to add URL cruft such as +``.html`` -- unless you want to, in which case you can do something like +this:: - (r'^polls/latest\.php$', 'polls.views.index'), + (r'^polls/latest\.html$', 'polls.views.index'), But, don't do that. It's silly. |
