| Age | Commit message (Collapse) | Author |
|
in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.
If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.
Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b.
Backport of 480492fe70b0bb7df61c00854dc8535c9d21ba64 from master
|
|
exceptions with custom signature.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of 0344565179527d80990e2247e3be7c04aa8c43c8 from master
|
|
when using StatReloader.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of b2790f74d4f38c8b297b7c1cef6875d2378f6fa6 from master
|
|
StatReloader.
Backport of 6754bffa2b2df15a741008aa611c1bb0e8dff22b from master
|
|
5 seconds and made it customizable.
Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.
Backport of ed3c59097a01ed3f32f8a8bed95307fb5c181251 from master
|
|
Backport of 95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c from master.
|
|
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of 99cfb28e995388db109e2f2ed15307f09945dda8 from master.
|
|
Backport of 255d6a26a8839180b495c75f256641415c516b6f from master.
|
|
Backport of 1e92407f83ed35be35f876777935b983ab9587be from master.
|
|
Removed support for pyinotify (refs #9722).
|
|
|
|
|
|
|
|
These functions do nothing on Python 3.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
Refs #24704.
|
|
This also fixes a test failure on Python 2 when Django is installed in a
non-ASCII path. This problem cannot happen on Python 3.
|
|
* Added helpers to test uncached and cached access.
* Fixed test_project_root_locale: it duplicated test_locale_paths_setting.
* Rewrote test_only_new_files: test more cases.
|
|
* When some old files contain errors, the second call to
gen_filenames() should return them.
* When some new files contain errors, the first call to
gen_filenames(only_new=True) should return them.
|
|
|
|
Specifically stopped using the dir argument.
|
|
contains non-ASCII characters.
|
|
|
|
|
|
os.close(fd) is needed to avoid "The process cannot access the file
because it is being used by another process"
|
|
If the temporary file name contained a p or y as its last
characters, it would be stripped. refs #23083.
|
|
Thanks Collin Anderson for the report and hirokiky for the fix.
|
|
This fixes a regression introduced in 6d302f639.
Thanks lorinkoz at gmail.com for the report, Collin Anderson
for the initial patch and Simon Charette for the review.
|
|
|
|
Refs #9722. Thanks Tim Graham for the review.
|
|
It's now easier to achieve the same effect with modify_settings or
override_settings.
|
|
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
|
|
Except the app cache code and a few specific tests, of course.
|
|
Django also uses locales provided by apps, which also might change. Also when
i18n is disabled, there is no need for watching translation files.
|
|
Thanks to Krzysztof Kulewski for the initial patch.
|