django1/django/utils
Carlton Gibson 4372233ebf Refs #32355 -- Restored PY36 and PY37 version constants.
Partially reverts ec0ff40631.

PY36 should be removed when Django 2.2 is EOL.
PY37 should be removed when Django 3.2 is EOL.

Thanks to Tim Graham for the report.
2021-02-10 19:57:11 +01:00
..
translation Refs #15902 -- Stopped set_language() storing user's language in the session. 2021-01-14 17:50:04 +01:00
__init__.py
_os.py Refs #30461 -- Added django.utils._os.to_path(). 2019-08-13 17:17:39 +02:00
archive.py Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract(). 2021-02-01 09:07:36 +01:00
asyncio.py Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable. 2019-12-03 17:29:31 +01:00
autoreload.py Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
baseconv.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
cache.py Made small readability improvements. 2020-10-28 20:20:20 +01:00
connection.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
crypto.py Refs #31359 -- Made get_random_string()'s length argument required. 2021-01-14 17:50:04 +01:00
datastructures.py Updated MultiValueDict.update() to mirror dict.update() behavior. 2020-10-30 10:44:44 +01:00
dateformat.py Refs #32365 -- Allowed use of non-pytz timezone implementations. 2021-01-19 11:59:37 +01:00
dateparse.py Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. 2020-12-21 10:28:07 +01: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 #30116 -- Simplified regex match group access with Match.__getitem__(). 2020-05-11 12:01:28 +02:00
deconstruct.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
decorators.py Fixed #31224 -- Added support for asynchronous views and middleware. 2020-03-18 19:59:12 +01:00
deprecation.py Advanced deprecation warnings for Django 4.0. 2021-01-14 17:50:04 +01: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 Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() per deprecation timeline. 2021-01-14 17:50:04 +01:00
feedgenerator.py Used 4 space hanging indent for dictionaries. 2019-01-02 18:18:19 -05:00
formats.py Fixed #30134 -- Ensured unlocalized numbers are string representation in templates. 2020-06-04 10:34:54 +02:00
functional.py Fixed #32208 -- Allowed adding lazy() objects. 2020-12-21 09:24:41 +01:00
hashable.py Refs #29838, Refs #28507 -- Made make_hashable() ignore key order. 2020-10-05 20:42:46 +02:00
html.py Removed unused unencoded_ampersands_re regex. 2019-11-25 09:01:31 +01:00
http.py Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
inspect.py Added docstring to django.utils.inspect.func_accepts_kwargs(). 2020-12-14 18:08:37 +01: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 #30116 -- Simplified regex match group access with Match.__getitem__(). 2020-05-11 12:01:28 +02:00
log.py Fixed #29329 -- Made datetime logging from runserver more consistent. 2020-04-16 12:55:53 +02:00
lorem_ipsum.py Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
module_loading.py Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
numberformat.py Fixed #28280 -- Prevented numberformat.format() from formatting large/tiny floats in scientific notation. 2020-02-26 16:02:53 +01:00
regex_helper.py Refs #30899 -- Made _lazy_re_compile() support bytes. 2019-10-29 09:14:24 +01:00
safestring.py Fixed outdated import in django/utils/safestring.py. 2019-12-06 09:31:33 +01:00
termcolors.py Fixed typo in django/utils/termcolors.py docstring. 2019-12-27 07:49:15 +01:00
text.py Refs #27753 -- Removed django.utils.text.unescape_entities() per deprecation timeline. 2021-01-14 17:50:04 +01:00
timesince.py Fixed #31623 -- Allowed specifying number of adjacent time units in timesince()/timeuntil(). 2020-07-16 09:44:28 +02:00
timezone.py Refs #32365 -- Allowed use of non-pytz timezone implementations. 2021-01-19 11:59:37 +01:00
topological_sort.py Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02: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 Refs #32355 -- Restored PY36 and PY37 version constants. 2021-02-10 19:57:11 +01:00
xmlutils.py Fixed #30159 -- Removed unneeded use of OrderedDict. 2019-02-06 13:48:39 -05:00