diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-21 15:36:43 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-21 15:36:43 +0000 |
| commit | 8aa16458126f48a474a0f17b225abb822e11790e (patch) | |
| tree | b6db8e853d7fa0f95b4a45294ee321e5f54746c2 /docs/tutorial03.txt | |
| parent | 3ff931848e1c9261021db35eac9381c5c40c55d4 (diff) | |
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
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 9 |
1 files changed, 4 insertions, 5 deletions
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:: <p>No polls are available.</p> {% 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 =========== |
