From a8fa96796f07668c0fcdbc27a540bbb939d5bf2a Mon Sep 17 00:00:00 2001 From: Collin Anderson Date: Tue, 17 Jun 2014 12:23:26 -0400 Subject: [PATCH] Tutorial: Consistent url syntax --- docs/intro/tutorial03.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 1d25a58711c..5f58c235aa4 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.