django1/django/utils
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
..
translation Fixed #27685 -- Added watchman support to the autoreloader. 2019-01-13 20:33:47 -05:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_os.py Refs #27795 -- Removed force_bytes() usage in utils/_os.py. 2018-09-25 11:27:36 -04:00
archive.py Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
autoreload.py [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
baseconv.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
cache.py Refs #27795 -- Removed force_bytes() usage in django/utils/cache.py. 2018-08-28 08:03:23 -04:00
crypto.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
datastructures.py Fixed #20147 -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
dateformat.py Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." 2017-09-07 08:16:21 -04:00
dateparse.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
dates.py Fixed #28798 -- Removed unused django.utils.dates.WEEKDAYS_REV, MONTHS_3_REV. 2017-11-17 15:37:58 -05:00
datetime_safe.py Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is unsupported. 2018-08-02 10:20:24 -04:00
deconstruct.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
decorators.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
deprecation.py Advanced deprecation warnings for Django 2.2. 2018-05-17 11:05:45 -04:00
duration.py Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
encoding.py Simplified force_bytes(). 2018-07-09 12:25:55 -04:00
feedgenerator.py Used 4 space hanging indent for dictionaries. 2019-01-02 18:18:19 -05:00
formats.py Fixed #29578 -- Made numberformat.format() honor forced l10n usage. 2018-07-19 16:44:40 -04:00
functional.py Fixed #29478 -- Added support for mangled names to cached_property. 2018-11-19 13:40:49 -05:00
hashable.py Refs #29838 -- Fixed make_hashable() for values that have lists or dicts nested in tuples. 2018-10-17 11:17:50 -04:00
html.py Simplified django.utils.html.urlize(). 2018-10-12 12:15:26 -04:00
http.py Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data. 2018-12-27 11:19:55 -05:00
inspect.py Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound methods. 2018-08-07 17:37:35 -04:00
ipv6.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
itercompat.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
jslex.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
log.py Fixed #26688 -- Fixed HTTP request logging inconsistencies. 2018-05-04 20:55:03 -04:00
lorem_ipsum.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
lru_cache.py Refs #23919 -- Stopped using django.utils.lru_cache(). 2017-01-18 21:42:40 -05:00
module_loading.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
numberformat.py [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format(). 2019-02-11 11:10:38 +01:00
regex_helper.py Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements. 2018-01-12 12:44:50 -05:00
safestring.py [2.2.x] Fixed "byte string" typo in various docs and comments. 2019-03-28 10:01:36 +01:00
six.py Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
termcolors.py Fixed #28249 -- Removed unnecessary dict.keys() calls. 2017-05-27 19:08:46 -04:00
text.py Simplified utils.text.StreamingBuffer. 2018-10-04 08:28:03 -04:00
timesince.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
timezone.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
topological_sort.py [2.2.x] Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-27 17:16:48 -05:00
tree.py Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:34:49 -04:00
version.py Fixed #28708 -- Added constants to detect the Python version. 2017-10-13 10:11:15 -04:00
xmlutils.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00