django/django/utils
Sarah Boyce 069d713430 Removed PY36 and PY37 version constants.
As the oldest supported version is Django 4.2, we only need constants for PY38+.

Thank you to Mariusz Felisiak for the review.
2024-05-16 18:37:32 +02:00
..
translation Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
__init__.py
_os.py Corrected exception type in safe_join()'s docstring. 2023-04-20 05:44:01 +02:00
archive.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
asyncio.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
autoreload.py Refs #34986 -- Added PyPy support to django.utils.autoreload.get_child_arguments(). 2023-11-28 06:19:38 +01:00
cache.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
choices.py Fixed #34899 -- Added blank choice to forms' callable choices lazily. 2023-10-23 13:44:23 -03:00
connection.py Made closing in connection handlers more DRY. 2022-05-12 15:13:51 +02:00
crypto.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
datastructures.py Refs #34233 -- Used str.removeprefix()/removesuffix(). 2023-01-18 19:11:18 +01:00
dateformat.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
dateparse.py Removed unneeded escapes in regexes. 2023-08-02 19:53:16 +02:00
dates.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
deconstruct.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
decorators.py Refs #31949 -- Made make_middleware_decorator to work with async functions. 2023-09-13 11:41:01 +02:00
deprecation.py Refs #34118 -- Avoided repeat coroutine checks in MiddlewareMixin. 2023-10-23 09:03:25 +02:00
duration.py Used more augmented assignment statements. 2022-10-31 12:30:13 +01:00
encoding.py Refs #34986 -- Avoided pickling error in DjangoUnicodeDecodeError. 2023-11-27 10:37:29 +01:00
feedgenerator.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
formats.py Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. 2023-01-17 11:49:15 +01:00
functional.py Allowed custom formatting of lazy() objects. 2023-06-12 06:09:20 +02:00
hashable.py Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). 2023-11-24 12:06:29 +01:00
html.py Refs #30686 -- Made django.utils.html.VOID_ELEMENTS a frozenset. 2024-03-14 05:56:22 +01:00
http.py Refs #34986 -- Fixed mocking in utils_tests.test_http.HttpDateProcessingTests.test_parsing_rfc850. 2023-11-28 06:19:38 +01:00
inspect.py Fixed #35179 -- Made admindocs detect positional/keyword-only arguments. 2024-02-14 13:17:40 +01:00
ipv6.py Fixed #34818 -- Prevented GenericIPAddressField from mutating error messages. 2023-11-24 05:46:17 +01:00
itercompat.py Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). 2023-11-24 12:06:29 +01:00
jslex.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
log.py Fixed #35364 -- Stopped AdminEmailHandler rendering email unnecessarily. 2024-04-12 10:37:28 +02:00
lorem_ipsum.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
module_loading.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
numberformat.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
regex_helper.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
safestring.py Renamed wrapped functions to wrapper. 2022-05-25 10:53:52 +02:00
termcolors.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
text.py Refs #30686 -- Removed unused regexes in django.utils.text. 2024-02-15 08:39:14 +01:00
timesince.py Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on different days and interval less than 1 day. 2023-04-14 17:41:03 +02:00
timezone.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
tree.py Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
version.py Removed PY36 and PY37 version constants. 2024-05-16 18:37:32 +02:00
xmlutils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00