Kaydet (Commit) eba5703f authored tarafından Gary Wilson Jr's avatar Gary Wilson Jr

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
üst d018b92b
......@@ -356,7 +356,8 @@ Use the template system
=======================
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>
<ul>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment