summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorBouke Haarsma <bouke@webatoom.nl>2013-10-14 14:19:02 +0200
committerTim Graham <timograham@gmail.com>2013-10-14 10:38:34 -0400
commit5c1be8a870f9783c4164cf09b1e9db3205ad1f1e (patch)
tree54d9bd14a1e0ffe2cf5ff4a9c889fdf0017bbb04 /docs/intro
parentb268488806bd0cbfd29a874069ece89f61585935 (diff)
[1.5.x] Fixed #21210 -- Documented when runserver doesn't auto-restart.
Thanks gergely at polonkai.eu for the suggestion. Backport of 9b7d38ed5a from master
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial01.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index d9e8319170..8062f1cd59 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -181,6 +181,14 @@ It worked!
Full docs for the development server can be found in the
:djadmin:`runserver` reference.
+.. admonition:: Automatic reloading of :djadmin:`runserver`
+
+ The development server automatically reloads Python code for each request
+ as needed. You don't need to restart the server for code changes to take
+ effect. However, some actions like adding files or compiling translation
+ files don't trigger a restart, so you'll have to restart the server in
+ these cases.
+
Database setup
--------------