Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #12485 -- Added links to polls templates in tutorial. Thanks, g…

…ungadin for ticket and Derek Willis for patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bca753e283366101991dbc1758b66fd9339ba32d 1 parent 8da76ff
Justin Bronn jbronn authored
@@ -487,8 +487,8 @@ answer newbie questions, and generally made Django that much better:
Mike Wiacek <>
Frank Wierzbicki
+ Derek Willis <>
Rachel Willmer <>
- Gary Wilson <>
Jakub Wilk <>
Jakub Wiśniowski <>
Maciej Wiśniowski <>
5 docs/intro/tutorial03.txt
@@ -261,7 +261,7 @@ Put the following code in that template:
{% if latest_poll_list %}
{% for poll in latest_poll_list %}
- <li>{{ poll.question }}</li>
+ <li><a href="/polls/{{ }}/">{{ poll.question }}</a><</li>
{% endfor %}
{% 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()
2  docs/intro/tutorial04.txt
@@ -174,6 +174,8 @@ Now, create a ``results.html`` template:
{% endfor %}
+ <a href="/polls/{{ }}/">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.
Please sign in to comment.
Something went wrong with that request. Please try again.