1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #9722 - used pyinotify as change detection system when available

Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.

Thanks Chris Lamb and Pascal Hartig for work on the patch.
This commit is contained in:
Unai Zalakain
2013-10-14 07:33:45 +02:00
committed by Tim Graham
parent e9cb333bc3
commit 15f82c7011
4 changed files with 81 additions and 11 deletions

View File

@@ -343,6 +343,9 @@ 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.
Models
^^^^^^