diff options
Diffstat (limited to 'docs/tutorial04.txt')
| -rw-r--r-- | docs/tutorial04.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index cfd9a45a4b..553a76e9b1 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -8,8 +8,8 @@ application and will focus on simple form processing and cutting down our code. Write a simple form =================== -Let's update our poll detail template from the last tutorial, so that the -template contains an HTML ``<form>`` element:: +Let's update our poll detail template ("polls/detail.html") from the last +tutorial, so that the template contains an HTML ``<form>`` element:: <h1>{{ poll.question }}</h1> @@ -213,7 +213,7 @@ objects" and "display a detail page for a particular type of object." a way to refer to its URL later on (see `naming URL patterns`_ for more on named patterns). -.. _naming URL patterns: http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns +.. _naming URL patterns: ../url_dispatch/#naming-url-patterns By default, the ``object_detail`` generic view uses a template called ``<app name>/<model name>_detail.html``. In our case, it'll use the template |
