Refs #5089 -- Added file name to poll detail template examples in the tutorial.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-08-05 04:39:52 +00:00
parent d018b92bbe
commit eba5703fee
2 changed files with 4 additions and 3 deletions

View File

@ -356,7 +356,8 @@ Use the template system
======================= =======================
Back to the ``detail()`` view for our poll application. Given the context Back to the ``detail()`` view for our poll application. Given the context
variable ``poll``, here's what the template might look like:: variable ``poll``, here's what the "polls/detail.html" template might look
like::
<h1>{{ poll.question }}</h1> <h1>{{ poll.question }}</h1>
<ul> <ul>

View File

@ -8,8 +8,8 @@ application and will focus on simple form processing and cutting down our code.
Write a simple form Write a simple form
=================== ===================
Let's update our poll detail template from the last tutorial, so that the Let's update our poll detail template ("polls/detail.html") from the last
template contains an HTML ``<form>`` element:: tutorial, so that the template contains an HTML ``<form>`` element::
<h1>{{ poll.question }}</h1> <h1>{{ poll.question }}</h1>