summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-10Refs #26029 -- Doc'd django.core.files.storage.default_storage.Jarosław Wygoda
2022-08-09Fixed #33905 -- Fixed CheckConstraint() validation on range fields.David Sanders
Bug in 667105877e6723c6985399803a364848891513cc.
2022-08-09Refs #33905 -- Added test for CheckConstraint() validation with ArrayField ↵David Sanders
and __contains.
2022-08-09Refs #33842 -- Removed incorrect :file: role in contrib docs.Ramil Yanbulatov
The file role is not appropriate for URLs and URL path-components.
2022-08-09Refs #33842 -- Added :ttag: role in translations docs.Ramil Yanbulatov
2022-08-09Fixed #33842 -- Used :source: role for links to repo files on GitHub.Ramil Yanbulatov
2022-08-09Removed unused InlineAdminForm.ordering_field().Mariusz Felisiak
Unused since its introduction in a19ed8aea395e8e07164ff7d85bd7dff2f24edca.
2022-08-09Fixed #33895 -- Fixed Case() crash with filters that match everything in When().David Wobrock
Thanks shukryzablah for the report.
2022-08-09Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.Mariusz Felisiak
Thanks Adam Zahradník for the report. Bug in 667105877e6723c6985399803a364848891513cc.
2022-08-08Fixed typo in docs/topics/i18n/translation.txt.Alessandro Baccini
2022-08-08Fixed #31721 -- Allowed ModelForm meta to specify form fields.Kamil Turek
2022-08-08Added test for non-HTTP request on ASGIStaticFilesHandler.Carlton Gibson
2022-08-08Fixed #33899 -- Fixed migration crash when removing indexed field on SQLite ↵Fiza Ashraf
3.35.5+. Regression in 702819227fd0cdd9b581cd99e11d1561d51cbeb. Thanks cessor for the report.
2022-08-06Fixed #33898 -- Fixed Window() expression crash with ArrayAgg().Mariusz Felisiak
Thanks Kia for the report. Regression in e06dc4571ea9fd5723c8029959b95808be9f8812.
2022-08-06Fixed typo in docs/ref/forms/renderers.txt.Mariusz Felisiak
Thanks Josh for the report.
2022-08-05Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of ↵Fab
admin forms." Regression in fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.
2022-08-04Restricted permissions for GitHub tokens.Mariusz Felisiak
2022-08-04Pinned gh-problem-matcher-wrap to the commit in GitHub actions.Mariusz Felisiak
2022-08-04Refs #33173, Refs #33755 -- Fixed ResourceWarning from unclosed files in ↵Carlton Gibson
ASGI tests.
2022-08-04Fixed #33891 -- Fixed test command crash when running in parallel using spawn.Mariusz Felisiak
Thanks Kevin Renskers for the report. Regression in 41c4cb253c137edf5a96b7408ea55d57d6e0602a.
2022-08-03Fixed #33888 -- Fixed get_select2_language() crash with no language activated.Claude Paroz
Regression in 3079133c73f3b8b0e929673b06b62dce1f54be71.
2022-08-03Fixed typo in docs/releases/4.2.txt.NOTHING
2022-08-03Fixed #33886 -- Reallowed using GeoIP2() when GEOS is not installed.Aarni Koskela
Regression in 31bef51d8ea5e3bf650de1495ae1f0566670b8f3.
2022-08-03Fixed #33887 -- Fixed test_fails_squash_migration_manual_porting() on final ↵Alberto Planas
tags. Regression in 7c318a8bdd66f8c5241864c9970dddb525d0ca4c.
2022-08-03Fixed #33872 -- Deprecated ↵Mariusz Felisiak
django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
2022-08-03Added stub release notes for 4.1.1.Carlton Gibson
2022-08-03Updated release notes for Django 4.1 release.Carlton Gibson
2022-08-03Added CVE-2022-36359 to security archive.Carlton Gibson
2022-08-03Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.Carlton Gibson
Thanks to Motoyasu Saburi for the report.
2022-08-03Adjusted version 4.0.7 release notes.Carlton Gibson
2022-08-03Updated translations from Transifex.Mariusz Felisiak
This also fixes related i18n tests. Forwardport of a3bab9332416f655c6ae0fa306c94f7f52e7398d from stable/4.1.x. Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-02Fixed #33690 -- Added switch button for dark mode in the admin.Sarah Abderemane
2022-08-02Doc'd TextField.db_collation as optional.Carlton Gibson
Matches CharField.db_collation docs. Thanks to Paolo Melchiorre for the report.
2022-08-02Fixed #33881 -- Added support for database collations to ↵Mariusz Felisiak
ArrayField(Char/TextFields).
2022-08-02Fixed #33876, Refs #32229 -- Made management forms render with div.html ↵Carlton Gibson
template. Thanks to Claude Paroz for the report.
2022-08-01Refs #25706 -- Removed inline CSS in the openlayers widget template.Claude Paroz
2022-08-01Made MapWidget a JS class.Claude Paroz
2022-07-31Ignored c18861804feb6a97afbeabb51be748dd60a04458 formatting changes in git ↵Mariusz Felisiak
blame.
2022-07-31Fixed warnings per flake8 5.0.0.Mariusz Felisiak
2022-07-30Fixed #33442 -- Allowed GeoIP2 to use DB-IP Lite datasets.Claude Paroz
2022-07-29Fixed typo in docs/topics/testing/tools.txt.rharri
2022-07-28Fixed #33726 -- Added skip-link to admin for keyboard navigation.Marcelo Galigniana
2022-07-27Fixed collation tests on MySQL 8.0.30+.Mariusz Felisiak
The utf8_ collations are renamed to utf8mb3_* on MySQL 8.0.30+.
2022-07-27Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects.Nick Pope
Node.create() which has a compatible signature with Node.__init__() takes in a single `children` argument rather than relying in unpacking *args in Q.__init__() which calls Node.__init__(). In addition, we were often needing to unpack iterables into *args and can instead pass a list direct to Node.create().
2022-07-27Refs #32948 -- Simplified and optimized Q._combine() and __invert__().Nick Pope
- Removed use of Q.deconstruct() in Q._combine(). - Simplified and optimized Q.__invert__() by taking a shallow copy and swapping the negated attribute only. - Simplified construction in Q._combine(). - Simplified conditions in Q._combine() as Q.conditional = True the first isinstance() check is unnecessary. - Removed copy.copy() branch in Q._combine(). Co-authored-by: Keryn Knight <keryn@kerynknight.com>
2022-07-27Refs #32948 -- Added Node.__copy__().Nick Pope
This allows the copy.copy() usage in the Q._combine() method to finish sooner, instead of having to fallback to using the __reduce_ex__(4) method. Thia also avoids having to fall into copy.copy() at in Q._combine(), when combining a Q() with another Q(). Co-authored-by: Keryn Knight <keryn@kerynknight.com>
2022-07-27Refs #32948 -- Simplified WhereNode and Node.__deepcopy__()/add().Nick Pope
We can use copy() in Node.add() instead of create() as we don't need the children to be cloned via [:] subscript in __init__().
2022-07-27Refs #32948 -- Renamed Node._new_instance() to Node.create().Nick Pope
Node._new_instance() was added in 6dd2b5468fa275d53aa60fdcaff8c28bdc5e9c25 to work around Q.__init__() having an incompatible signature with Node.__init__(). It was intended as a hook that could be overridden if subclasses needed to change the behaviour of instantiation of their specialised form of Node. In practice this doesn't ever seem to have been used for this purpose and there are very few calls to Node._new_instance() with other code, e.g. Node.__deepcopy__() calling Node and overriding __class__ as required. Rename this to Node.create() to make it a more "official" piece of private API that we can use to simplify a lot of other areas internally. The docstring and nearby comment have been reworded to read more clearly.
2022-07-27Adjusted release notes for 4.0.7 and 3.2.15.Carlton Gibson
2022-07-27Added release date and stub release notes for 4.0.7 and 3.2.15 releases.Carlton Gibson