Commit da235c9a authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Improved changelog for runserver in 1.7.

parent 859a2056
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -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
^^^^^^