django1/django
Tom Forbes 7089502b98 [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files 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 6754bffa2b.

Backport of 480492fe70 from master
2019-05-29 09:43:10 +02:00
..
apps Fixed #27685 -- Added watchman support to the autoreloader. 2019-01-13 20:33:47 -05:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf [2.2.x] Updated core translations from Transifex 2019-04-01 11:46:01 +02:00
contrib [2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery. 2019-05-28 10:39:28 +02:00
core [2.2.x] Fixed "byte string" typo in various docs and comments. 2019-03-28 10:01:36 +01:00
db [2.2.x] Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contains expressions. 2019-05-18 20:05:31 +02:00
dispatch Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
forms [2.2.x] Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient. 2019-02-27 17:16:58 -05:00
http Fixed #20147 -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
middleware Capitalized SecurityMiddleware headers for consistency with other headers. 2018-10-30 18:30:51 -04:00
template [2.2.x] Refs #20122 -- Corrected documentation of pluralize template filter. 2019-05-03 11:53:56 +02:00
templatetags Replaced loop with dictionary comprehension. 2018-12-19 17:31:48 -06:00
test [2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests. 2019-02-14 10:05:13 -05:00
urls [2.2.x] Fixed #30318 -- Added check for importability of arguments of custom error handler views. 2019-04-25 11:38:35 +02:00
utils [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader. 2019-05-29 09:43:10 +02:00
views [2.2.x] Fixed #30324 -- Forced utf-8 encoding when loading the template for the technical 500 debug page. 2019-04-05 16:37:22 +02:00
__init__.py [2.2.x] Post-release version bump. 2019-05-01 09:11:33 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Added missing word to render_to_response deprecation warning. 2018-05-16 10:06:36 +02:00