Merge pull request #2825 from collinanderson/patch-2
Made url syntax consistent in tutorial; refs #22218.
This commit is contained in:
commit
e4708385fd
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue