From bca753e283366101991dbc1758b66fd9339ba32d Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Tue, 23 Feb 2010 15:00:33 +0000 Subject: [PATCH] Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin for ticket and Derek Willis for patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12527 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- AUTHORS | 2 +- docs/intro/tutorial03.txt | 5 +++-- docs/intro/tutorial04.txt | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 1a659250d2..eac35f2f8b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -487,8 +487,8 @@ answer newbie questions, and generally made Django that much better: Mike Wiacek Frank Wierzbicki charly.wilhelm@gmail.com + Derek Willis Rachel Willmer - Gary Wilson Jakub Wilk Jakub Wiśniowski Maciej Wiśniowski 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 %} {% 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 %} + Vote again? + 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.