Tutorial: Consistent url syntax

This commit is contained in:
Collin Anderson 2014-06-17 12:23:26 -04:00
parent 95cc0e15b4
commit a8fa96796f
1 changed files with 1 additions and 1 deletions

View File

@ -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.