mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #9523 -- Restart runserver after translation MO files change
Thanks to Krzysztof Kulewski for the initial patch.
This commit is contained in:
parent
090315f5df
commit
c3936c0d79
7 changed files with 82 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue