From 8aa16458126f48a474a0f17b225abb822e11790e Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 21 Jul 2005 15:36:43 +0000 Subject: Changed tutorial docs to account for auto-reload on the development server git-svn-id: http://code.djangoproject.com/svn/django/trunk@274 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/tutorial03.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/tutorial03.txt') diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index 87a5f38f21..3bfb9b12d7 100644 --- a/docs/tutorial03.txt +++ b/docs/tutorial03.txt @@ -135,8 +135,8 @@ and put the following Python code in it:: def index(request): return HttpResponse("Hello, world. You're at the poll index.") -This is the simplest view possible. Restart your development server and go to -"/polls/". You should see your text. +This is the simplest view possible. Go to "/polls/" in your browser, and you +should see your text. Now add the following view. It's slightly different, because it takes an argument (which, remember, is passed in from whatever was captured by the @@ -229,9 +229,8 @@ Put the following code in that template::

No polls are available.

{% endif %} -Templates are read from disk at each page request, so you don't have to restart -the server to see changes. Load the page in your Web browser, and you should -see a bulleted-list containing the "What's up" poll from Tutorial 1. +Load the page in your Web browser, and you should see a bulleted-list +containing the "What's up" poll from Tutorial 1. Raising 404 =========== -- cgit v1.3