| Age | Commit message (Collapse) | Author |
|
territorial language variants with different plural equations.
Regression in e3e48b00127c09eafe6439d980a82fc5c591b673.
Thanks to Shai Berger for report, reproduce and suggested fix.
Backport of dd1ca50b096bf0351819aabc862e91a9797ddaca from master
|
|
Backport of 0668164b4ac93a5be79f5b87fae83c657124d9ab from master.
|
|
Thanks to Michal Čihař for review.
Backport of e3e48b00127c09eafe6439d980a82fc5c591b673 from master
|
|
environment variable.
Backport of c90ab30fa1305481024b9c3c50b5a6ed6cd9a2f5 from master
|
|
Backport of 1185c6172b4dd5482b7bc76b12d7a0588320e027 from master
|
|
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.
Backport of 7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c from master
|
|
|
|
|
|
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.
|
|
The value returned from urllib.parse.quote() is always a string, so can
safely call .encode().
|
|
|
|
to RFC 7231.
|
|
|
|
is passed as data.
|
|
The html.entities.name2codepoint dict contains only valid Unicode
codepoints. Either the key exists and chr() will succeed or the key does
not exist.
|
|
django.utils.encoding.uri_to_iri().
Thanks to Guido Vranken for initial report.
|
|
strip_tags() when handling incomplete HTML entities.
Thanks to Guido Vranken for initial report.
|
|
truncating HTML.
Thanks to Guido Vranken for initial report.
|
|
startapp/startproject management commands.
|
|
|
|
|
|
resolved.
|
|
Unused since its introduction in c8720e7696ca41f3262d5369365cc1bd72a216ca.
|
|
|
|
|
|
|
|
|
|
decorator.
|
|
have __file__ attribute.
|
|
Path.resolve(strict=True).
|
|
This adds an ASGI handler, asgi.py file for the default project layout,
a few async utilities and adds async-safety to many parts of Django.
|
|
filesizeformat filters.
intword and filesizeformat passed floats to ngettext() which is
deprecated in Python 3.7. The rationale for this warning is documented
in BPO-28692: https://bugs.python.org/issue28692.
For filesizeformat, the filesize value is expected to be an int -- it
fills %d string formatting placeholders. It was likely coerced to a
float to ensure floating point division on Python 2. Python 3 always
does floating point division, so coerce to an int instead of a float to
fix the warning.
For intword, the number may contain a decimal component. In English, a
decimal component makes the noun plural. A helper function,
round_away_from_one(), was added to convert the float to an integer that
is appropriate for ngettext().
|
|
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 6754bffa2b2df15a741008aa611c1bb0e8dff22b.
|
|
custom signature.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
|
|
using StatReloader.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
|
|
Given doseq defaults to False it should avoid an unnecessary instance
check in most cases.
|
|
|
|
lazy() should prepare the proxy class only once (the first time it's
used) not on every call.
Regression in b4e76f30d12bfa8a53cc297c60055c6f4629cc4c.
|
|
|
|
doesn't work.
Fallback was untested and likely never triggered.
|
|
|
|
The function was undocumented and only required for compatibility with
Python 2.
Code should use Python's html.unescape() that was added in Python 3.4.
|
|
Bumped minimum supported pywatchman version to 1.2.0.
These exceptions don't require checking a server status.
|
|
|
|
get_resolver().urlconf_module raising an exception.
|
|
|
|
seconds and made it customizable.
Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.
|
|
html.escape()/unescape().
|
|
In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was
introduced to prevent allocating large segments of memory when a
very large or very small decimal number was to be formatted.
As a side-effect, there was a change in formatting of small decimal
numbers even when the `decimal_pos` argument was provided, which meant
that reasonable small decimal numbers (above 1e-199) would be formatted
as `0.00`, while smaller decimal numbers (under 1e-200) would be
formatted as `1e-200`.
|
|
|