Small formatting fix to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6fdb7c98e8
commit
09e825c746
|
@ -91,7 +91,7 @@ a keyword argument to the view function.
|
||||||
Because the URL patterns are regular expressions, there really is no limit on
|
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
|
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
|
``.php`` -- unless you have a sick sense of humor, in which case you can do
|
||||||
something like this:
|
something like this::
|
||||||
|
|
||||||
(r'^polls/latest\.php$', 'myproject.apps.polls.views.polls.index'),
|
(r'^polls/latest\.php$', 'myproject.apps.polls.views.polls.index'),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue