Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…erver

git-svn-id: http://code.djangoproject.com/svn/django/trunk@274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8aa16458126f48a474a0f17b225abb822e11790e 1 parent 3ff9318
Adrian Holovaty authored
8  docs/tutorial02.txt
@@ -94,12 +94,8 @@ file and make the following change to add an ``admin`` attribute::
94 94
         )
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
105 101
 ====================================
9  docs/tutorial03.txt
@@ -135,8 +135,8 @@ and put the following Python code in it::
135 135
     def index(request):
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 to
139  
-"/polls/". You should 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
142 142
 argument (which, remember, is passed in from whatever was captured by the
@@ -229,9 +229,8 @@ Put the following code in that template::
229 229
         <p>No polls are available.</p>
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
237 236
 ===========

0 notes on commit 8aa1645

Please sign in to comment.
Something went wrong with that request. Please try again.