summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-17Corrected CSRF reference in middleware docs.tommcn
2022-03-16Doc'd BaseConstraint.Gagaro
2022-03-16Made BaseConstraint importable from django.db.models.Gagaro
2022-03-16Fixed #33580 -- Fixed crash when checking support for terminal colors on Wine.jochemfranken
Regression in f1585c54d0242d71cdc63421f751528472b1c9c2.
2022-03-16Used sets for field names for exclusion.Gagaro
They are used only for containment checks.
2022-03-16Refs #30581 -- Allowed sql.Query to be used without model.Gagaro
2022-03-16Fixed #33577 -- Confirmed support for GDAL 3.4.Mariusz Felisiak
2022-03-15Fixed #31169 -- Adapted the parallel test runner to use spawn.David Smith
Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-03-15Removed unnecessary _connector from Q construction in get_for_models().Mariusz Felisiak
Q._connector defaults to Q.AND. Follow up to 859a87d873ce7152af73ab851653b4e1c3ffea4c.
2022-03-15Removed outdated handling of length parameter to If-Modified-Since header.Mariusz Felisiak
The length parameter is not described in RFC-7232 and it's against HTTP/1.0 and HTTP/1.1 specifications. It was an old and unofficial extension set by some ancient versions of IE.
2022-03-15Fixed #33552 -- Fixed JSONField has key lookups with numeric keys on ↵Sage Abdullah
MariaDB, MySQL, Oracle, and SQLite.
2022-03-14Fixed #31357 -- Fixed get_for_models() crash for stale content types when ↵Biel Frontera
model with the same name exists in another app.
2022-03-14Added GitHub action with daily builds for Windows and JavaScript tests.Florian Apolloner
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-03-14Refs #28592 -- Removed redundant spaces in docs/ref/csrf.txt.Tomas McNamer
2022-03-14Corrected AppConfig.get_models() signature in docs.David Sanders
2022-03-11Moved log_response() release notes into backwards incompatible changes section.Mariusz Felisiak
Follow up to 90cf96326432df56a1cf981df215b83f4e993bfd.
2022-03-11Fixed #33572 -- Implemented CreateModel/AlterModelManagers reduction.Adam Johnson
2022-03-11Fixed #33571 -- Fixed static serving views crash when If-Modified-Since is ↵Collin Anderson
empty. Regression in d6aff369ad33457ae2355b5b210faf1c4890ff35.
2022-03-10Fixed #33561 -- Allowed synchronization of user attributes in RemoteUserBackend.Adrian Torres
2022-03-10Changed some words to use inline markup.David Smith
2022-03-09Refs #33476 -- Prevented formatting of .py-tpl files with black by pre-commit.Nick Pope
When using `pre-commit run --all-files`, files explicitly passed to black are processed even if they don't match the `include` configuration option. For some reason, (only) one of the `*.py-tpl` files is picked up by pre-commit. We can avoid this by explicitly excluding certain patterns of files for the black hook in the pre-commit configuration.
2022-03-09Refs #33476 -- Used black's force-exclude instead of extend-exclude.Nick Pope
When using `pre-commit run --all-files`, because the filename is passed explicitly, the file referred to in `extend-exclude` is not properly excluded. Use `force-exclude` instead to say we really mean it. See https://github.com/psf/black/issues/438.
2022-03-09Fixed #33567 -- Avoided setting default text/html content type on responses.Claude Paroz
2022-03-09Removed unused and unnecessary words from docs/spelling_wordlist.David
2022-03-09Changed "bolded" to "in bold" in docs.David Smith
2022-03-08Rewrote strip_tags test file to lorem ipsum.Adam Johnson
2022-03-08Rewrote some references to "master".Adam Johnson
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
2022-03-08Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale().Mariusz Felisiak
locale.getdefaultlocale() was deprecated in Python 3.11, see https://bugs.python.org/issue46659.
2022-03-08Used Ubuntu 20.04 for docs GitHub action.Mariusz Felisiak
2022-03-08Clarified that tutorial background image should be self-provided.Adam Johnson
2022-03-08Fixed #33563 -- Fixed contenttype reverse data migration crash with a ↵Hameed Gifford
multiple databases setup.
2022-03-07Made Github actions auto-cancel redundant jobs.Mariusz Felisiak
2022-03-07Bumped versions in Github actions configuration to v3.Mariusz Felisiak
2022-03-07Refs #33562 -- Made HttpResponse.set_cookie() raise ValueError when both ↵Luke Plant
"expires" and "max_age" are passed. This fixes the case where you might pass set_cookie(expires=val, max_age=val) and max_age is silently ignored.
2022-03-07Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the ↵Luke Plant
max_age argument.
2022-03-07Refs #33562 -- Added tests HttpRequest.get_signed_cookie() with timedeltas.Luke Plant
2022-03-04Fixed #29865 -- Added logical XOR support for Q() and querysets.Ryan Heard
2022-03-04Refs #31169 -- Prevented infinite loop in tests on failures.Mariusz Felisiak
Regression in ae91ecf6a1037fb67d14841b66ac19d4c2ccc4ac.
2022-03-04Refs #11293 -- Added test for filtering aggregates with negated & operator.Mariusz Felisiak
2022-03-04Refs #33446 -- Allowed variable whitespace in CSS source map references.Adam Johnson
Follow up to dc8bb35e39388d41b1f38b6c5d0181224e075f16. The Webpack default is to output CSS source map comments like `/*# sourceMappingURL=main.css.map*/`. Also, Chromium allows tabs.
2022-03-03Refs #27624 -- Optimized Query.clone() a bit.Keryn Knight
2022-03-03Refs #27624 -- Optimized sql.Query creation by moving immutable/singleton ↵Keryn Knight
attributes to class attributes.
2022-03-03Optimized lazy wrappers a bit.Collin Anderson
This avoids an extra __getattribute__() call for self._wrapped.
2022-03-02Refs #33546 -- Optimized handling content types in HttpResponseBase.__init__().Keryn Knight
This removes an extraneous conditional causing "Content-Type" to be checked within the ResponseHeaders twice, if a content_type parameter is provided.
2022-03-02Refs #33546 -- Optimized HttpResponseBase.charset a bit.Keryn Knight
This avoids scanning the Content-Type if it's empty, allowing the Content-Type header itself to have a charset assigned without using the re module.
2022-03-02Refs #33546 -- Optimized ResponseHeaders._convert_to_charset() by reducing ↵Keryn Knight
the type-checking duplication. In the common case, where keys and values are be encoded into ascii/latin-1, defer the checking for newlines until it's been successfully coerced to a string. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-03-02Refs #33546 -- Avoided unpacking data in ResponseHeaders when not necessary.Keryn Knight
2022-03-02Refs #10188 -- Added tests for BadHeaderErrors when HTTP header with ↵Keryn Knight
newlines cannot be encoded/decoded.
2022-03-02Fixed #33553 -- Used built-in math functions in SQLite 3.35+.Nick Pope
In SQLite 3.35+ some math functions are available built-in as long as they are not disabled at compile time. We can introspect this and use these built-in functions in preference to our slower implementations.
2022-03-01Added stub release notes for Django 4.0.4.Carlton Gibson