Changeset 274
- Timestamp:
- 07/21/05 10:36:43 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial02.txt (modified) (1 diff)
- django/trunk/docs/tutorial03.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial02.txt
r265 r274 95 95 admin = meta.Admin() 96 96 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). 97 Now reload the Django admin page to see your changes. Note that you don't have 98 to restart the development server -- it auto-reloads code. 103 99 104 100 Explore the free admin functionality django/trunk/docs/tutorial03.txt
r247 r274 136 136 return HttpResponse("Hello, world. You're at the poll index.") 137 137 138 This is the simplest view possible. Restart your development server and go to139 "/polls/". Youshould see your text.138 This is the simplest view possible. Go to "/polls/" in your browser, and you 139 should see your text. 140 140 141 141 Now add the following view. It's slightly different, because it takes an … … 230 230 {% endif %} 231 231 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. 232 Load the page in your Web browser, and you should see a bulleted-list 233 containing the "What's up" poll from Tutorial 1. 235 234 236 235 Raising 404
