0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Improved changelog for runserver in 1.7.

This commit is contained in:
Aymeric Augustin 2013-11-04 23:28:38 +01:00
parent 859a20560e
commit da235c9a84

View File

@ -343,11 +343,20 @@ Management Commands
Django takes this information from your settings file. If you have configured
multiple caches or multiple databases, all cache tables are created.
* The :djadmin:`runserver` command now uses ``inotify`` Linux kernel signals
for autoreloading if ``pyinotify`` is installed.
* The :djadmin:`runserver` command received several improvements:
* The :djadmin:`runserver` command is now restarted when a translation file is
changed.
* On BSD systems, including OS X, the development server will reload
immediately when a file is changed. Previously, it was polling the
filesystem for changes every second. That caused a small delay before
reloads and reduced battery life on laptops.
* On Linux, the same improvements are available when pyinotify_ is
installed.
.. _pyinotify: https://pypi.python.org/pypi/pyinotify
* Besides, the development server automatically reloads when a translation
file is updated, ie. after running :djadmin:`compilemessages`.
Models
^^^^^^