summaryrefslogtreecommitdiff
path: root/docs
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:36:18 -0400
commit9b7d38ed5a9eed21c496abb1b874cfe53da9c9c9 (patch)
tree3a797a99ba927f1772c87404a7e10780d1b86109 /docs
parent8ce3c3a9282ac19282060ddf6928b34a09d26672 (diff)
Fixed #21210 -- Documented when runserver doesn't auto-restart.
Thanks gergely at polonkai.eu for the suggestion.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt8
-rw-r--r--docs/ref/django-admin.txt2
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 1c301c0cc2..dd40a47548 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
--------------
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 9626606c01..2d9dcd9920 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -791,6 +791,8 @@ Django.)
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.
When you start the server, and each time you change Python code while the
server is running, the server will validate all of your installed models. (See