diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-11-02 06:57:50 -0700 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-11-02 06:57:50 -0700 |
| commit | 8b3d9d96ed8304d749c9056c42be89084d9b34aa (patch) | |
| tree | 9bc484add8ff2e759de59ebec574c5c08a36a561 /docs | |
| parent | 073b974e6613adc88cade7d34af701e52e2cc8fd (diff) | |
| parent | c3936c0d79d79aced25ceba8beff0c91a6b5c2ed (diff) | |
Merge pull request #1799 from Bouke/tickets/9523
Fixed #9523 -- Restart runserver after translation MO files change
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 8 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 6bb03347c9..c301c5f094 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -791,8 +791,12 @@ 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. +However, some actions like adding files don't trigger a restart, so you'll +have to restart the server in these cases. + +.. versionchanged:: 1.7 + + Compiling translation files now also restarts the development server. If you are using Linux and install `pyinotify`_, kernel signals will be used to autoreload the server (rather than polling file modification timestamps each diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 9a7ff41cf7..7218bcec22 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -346,6 +346,9 @@ Management Commands * The :djadmin:`runserver` command now uses ``inotify`` Linux kernel signals for autoreloading if ``pyinotify`` is installed. +* The :djadmin:`runserver` command is now restarted when a translation file is + changed. + Models ^^^^^^ |
