From e79eb09f2169ba9497283ab1a9e31c49e857fa93 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 9 Aug 2005 15:34:20 +0000 Subject: [PATCH] Fixed #293 -- Typo in tutorial04. Thanks, espen@grindhaug.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@439 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/tutorial04.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index 20e2a2e3ba..0215018c82 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -129,11 +129,6 @@ Now, create a ``results.html`` template:: {% endfor %} -And edit the ``detail.html`` template to add this snippet toward the top of the -page somewhere:: - - {% if error_message %}

{{ error_message }}

{% endif %} - 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.