diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2014-06-17 12:23:26 -0400 |
|---|---|---|
| committer | Collin Anderson <cmawebsite@gmail.com> | 2014-06-17 12:23:26 -0400 |
| commit | a8fa96796f07668c0fcdbc27a540bbb939d5bf2a (patch) | |
| tree | d2c5b2be275694a691a324a30c6779b04478450a /docs/intro/tutorial03.txt | |
| parent | 95cc0e15b45dd0986bdfd9fa3fedee4550c744c8 (diff) | |
Tutorial: Consistent url syntax
Diffstat (limited to 'docs/intro/tutorial03.txt')
| -rw-r--r-- | docs/intro/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 1d25a58711..5f58c235aa 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -267,7 +267,7 @@ 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\.html$', 'polls.views.index'), + url(r'^polls/latest\.html$', views.index), But, don't do that. It's silly. |
