Author: jbronn
Date: 2010-02-23 09:00:33 -0600 (Tue, 23 Feb 2010)
New Revision: 12527
Modified:
django/trunk/AUTHORS
django/trunk/docs/intro/tutorial03.txt
django/trunk/docs/intro/tutorial04.txt
Log:
Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin
for ticket and Derek Willis for patch.
Modified: django/trunk/AUTHORS
===================================================================
--- django/trunk/AUTHORS 2010-02-23 14:59:30 UTC (rev 12526)
+++ django/trunk/AUTHORS 2010-02-23 15:00:33 UTC (rev 12527)
@@ -487,8 +487,8 @@
Mike Wiacek <[email protected]>
Frank Wierzbicki
[email protected]
+ Derek Willis <http://blog.thescoop.org/>
Rachel Willmer <http://www.willmer.com/kb/>
- Gary Wilson <[email protected]>
Jakub Wilk <[email protected]>
Jakub Wiśniowski <[email protected]>
Maciej Wiśniowski <[email protected]>
Modified: django/trunk/docs/intro/tutorial03.txt
===================================================================
--- django/trunk/docs/intro/tutorial03.txt 2010-02-23 14:59:30 UTC (rev
12526)
+++ django/trunk/docs/intro/tutorial03.txt 2010-02-23 15:00:33 UTC (rev
12527)
@@ -261,7 +261,7 @@
{% 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 @@
{% 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()
--------------------------------
Modified: django/trunk/docs/intro/tutorial04.txt
===================================================================
--- django/trunk/docs/intro/tutorial04.txt 2010-02-23 14:59:30 UTC (rev
12526)
+++ django/trunk/docs/intro/tutorial04.txt 2010-02-23 15:00:33 UTC (rev
12527)
@@ -174,6 +174,8 @@
{% 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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.