django1/django/utils
Nick Pope 966b5b49b6 Updated MultiValueDict.update() to mirror dict.update() behavior.
Changes in behavior include:

- Accepting iteration over empty sequences, updating nothing.
- Accepting iterable of 2-tuples providing key-value pairs.
- Failing with the same or comparable exceptions for invalid input.

Notably this replaces the previous attempt to catch TypeError which was
unreachable as the call to .items() resulted in AttributeError on
non-dict objects.
2020-10-30 10:44:44 +01:00
..
translation Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
__init__.py
_os.py Refs #30461 -- Added django.utils._os.to_path(). 2019-08-13 17:17:39 +02:00
archive.py Fixed #30160 -- Added support for LZMA and XZ templates to startapp/startproject management commands. 2019-07-31 10:02:13 +02:00
asyncio.py Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable. 2019-12-03 17:29:31 +01:00
autoreload.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +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 Made small readability improvements. 2020-10-28 20:20:20 +01:00
crypto.py Fixed #31985 -- Corrected salted_hmac()'s docstring about supported algorithms. 2020-09-07 10:59:36 +02:00
datastructures.py Updated MultiValueDict.update() to mirror dict.update() behavior. 2020-10-30 10:44:44 +01:00
dateformat.py Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
dateparse.py Fixed #30803 -- Allowed comma separators for milliseconds in django.utils.dateparse functions. 2019-11-27 09:43:12 +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 Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive. 2020-08-26 07:13:49 +02: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 Capitalized Unicode in docs, strings, and comments. 2020-04-20 12:10:33 +02: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 #30864 -- Doc'd classproperty decorator. 2020-03-31 10:46:48 +02: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 Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8. 2020-09-03 14:24:42 +02:00
inspect.py Fixed #31732 -- Cached callables signatures in django.utils.inspect methods. 2020-07-06 10:42:43 +02: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 #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05: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 Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores. 2020-05-29 06:47:51 +02: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 #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline. 2019-09-10 12:01:00 +02: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 Adjusted subprocess.run() calls to use arg list, rather than string. 2019-08-28 10:19:30 +02:00
xmlutils.py Fixed #30159 -- Removed unneeded use of OrderedDict. 2019-02-06 13:48:39 -05:00