summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial03.txt5
-rw-r--r--docs/intro/tutorial04.txt2
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 41e10a7abd..9d97a094e6 100644
--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -261,7 +261,7 @@ Put the following code in that template:
{% if latest_poll_list %}
<ul>
{% for poll in latest_poll_list %}
- <li>{{ poll.question }}</li>
+ <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a><</li>
{% endfor %}
</ul>
{% else %}
@@ -269,7 +269,8 @@ Put the following code in that template:
{% endif %}
Load the page in your Web browser, and you should see a bulleted-list
-containing the "What's up" poll from Tutorial 1.
+containing the "What's up" poll from Tutorial 1. The link points to the poll's
+detail page.
A shortcut: render_to_response()
--------------------------------
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 70e012e7af..ee3a3b2045 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -174,6 +174,8 @@ Now, create a ``results.html`` template:
{% endfor %}
</ul>
+ <a href="/polls/{{ poll.id }}/">Vote again?</a>
+
Now, go to ``/polls/1/`` in your browser and vote in the poll. You should see a
results page that gets updated each time you vote. If you submit the form
without having chosen a choice, you should see the error message.