django1/django/utils
Jon Dufresne a44d80f88e Adjusted subprocess.run() calls to use arg list, rather than string.
The Python docs recommend passing a sequence to subprocess.run() when
possible. Doing so allows for automatic escaping and quoting of
arguments.

https://docs.python.org/3/library/subprocess.html#frequently-used-arguments

> args is required for all calls and should be a string, or a sequence
> of program arguments. Providing a sequence of arguments is generally
> preferred, as it allows the module to take care of any required
> escaping and quoting of arguments (e.g. to permit spaces in file
> names).

Also removed `shell=True` where unnecessary.
2019-08-28 10:19:30 +02:00
..
translation Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be resolved. 2019-07-24 14:08:37 +02:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_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 #30451 -- Added ASGI handler and coroutine-safety. 2019-06-20 12:29:43 +02:00
autoreload.py Replaced subprocess commands by run() wherever possible. 2019-08-23 10:53:36 +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 Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according to RFC 7231. 2019-08-16 15:25:42 +02:00
crypto.py Fixed #27635 -- Used secrets module in django.utils.crypto. 2019-05-20 11:21:22 +02:00
datastructures.py Fixed #30159 -- Removed unneeded use of OrderedDict. 2019-02-06 13:48:39 -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 #30141 -- Fixed parse_duration() for some negative durations. 2019-02-23 18:54:09 -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 #27753 -- Removed django.utils.decorators.ContextDecorator alias. 2019-02-05 13:00:11 -05:00
deprecation.py Advanced deprecation warnings for Django 3.0. 2019-01-17 11:15:27 -05: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 #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri(). 2019-08-28 09:20:46 +02: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 #30498 -- Fixed proxy class caching in lazy(). 2019-05-22 20:41:52 +02: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 Fixed CVE-2019-14233 -- Prevented excessive HTMLParser recursion in strip_tags() when handling incomplete HTML entities. 2019-08-01 09:24:54 +02:00
http.py Fixed #30677 -- Improved error message for urlencode() and Client when None is passed as data. 2019-08-11 20:15:23 +02: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
module_loading.py Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
numberformat.py Fixed #30363 -- Do not use exponential notation for small decimal numbers. 2019-04-13 14:30:33 +02: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 Fixed "byte string" typo in various docs and comments. 2019-03-28 10:00:12 +01:00
termcolors.py Fixed #28249 -- Removed unnecessary dict.keys() calls. 2017-05-27 19:08:46 -04:00
text.py Removed unneeded ValueError catching in django.utils.text._replace_entity(). 2019-08-01 14:30:20 +02:00
timesince.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
timezone.py Fixed #30451 -- Added ASGI handler and coroutine-safety. 2019-06-20 12:29:43 +02:00
topological_sort.py Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-25 15:44:49 -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 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