Django

Code

Changeset 274

Show
Ignore:
Timestamp:
07/21/05 10:36:43 (3 years ago)
Author:
adrian
Message:

Changed tutorial docs to account for auto-reload on the development server

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial02.txt

    r265 r274  
    9595        admin = meta.Admin() 
    9696 
    97 Restart your development Web server, and reload the Django admin page. You'll 
    98 have to restart the server each time you make a change to Python code -- but 
    99 we're working on changing that. 
    100  
    101 You can stop the development server by hitting CONTROL-C (Unix) or CTRL-BREAK 
    102 (Windows). 
     97Now reload the Django admin page to see your changes. Note that you don't have 
     98to restart the development server -- it auto-reloads code. 
    10399 
    104100Explore the free admin functionality 
  • django/trunk/docs/tutorial03.txt

    r247 r274  
    136136        return HttpResponse("Hello, world. You're at the poll index.") 
    137137 
    138 This is the simplest view possible. Restart your development server and go to 
    139 "/polls/". You should see your text. 
     138This is the simplest view possible. Go to "/polls/" in your browser, and you 
     139should see your text. 
    140140 
    141141Now add the following view. It's slightly different, because it takes an 
     
    230230    {% endif %} 
    231231 
    232 Templates are read from disk at each page request, so you don't have to restart 
    233 the server to see changes. Load the page in your Web browser, and you should 
    234 see a bulleted-list containing the "What's up" poll from Tutorial 1. 
     232Load the page in your Web browser, and you should see a bulleted-list 
     233containing the "What's up" poll from Tutorial 1. 
    235234 
    236235Raising 404