summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-18Fixed #34119 -- Prevented callable default hidden widget value from being ↵David Sanders
overridden. Thanks to Benjamin Rigaud for the report.
2022-11-18Fixed #26261 -- Fixed queryset crash when excluding reverse GenericRelation.roman_p
Thanks Amir Hadi for the report.
2022-11-18Fixed #34148 -- Reverted "Fixed #32901 -- Optimized BaseForm.__getitem__()."Francesco Panico
This reverts commit edde2a069929c93e37835dc3f7c9a229040058e2. Thanks Jan Pieter Waagmeester for the report.
2022-11-18Fixed #26056 -- Added QuerySet.values()/values_list() support for ↵Ben Cail
ArrayField's __overlap lookup. Thanks Mads Jensen and kosz85 and the initial patch.
2022-11-17Fixed #28987 -- Fixed altering ManyToManyField when changing to ↵DevilsAutumn
self-referential.
2022-11-16Refs #34118 -- Used smtplib's context parameter instead of keyfile and certfile.Mariusz Felisiak
keyfile and certfile parameters were removed in Python 3.12, see https://github.com/python/cpython/commit/ef0e72b31d22f780d3a165d7d0471806061fe380
2022-11-16Refs #34118 -- Skipped not compatible requirements on daily builds for ↵Mariusz Felisiak
Python 3.12.
2022-11-15Refs #33308 -- Used get_db_prep_value() to adapt JSONFields.Simon Charette
2022-11-15Refs #33308 -- Stopped inheriting from FieldGetDbPrepValueMixin by ↵Simon Charette
PostgresOperatorLookup.
2022-11-15Fixed #34123 -- Fixed combinator order by alias when using select_related().Simon Charette
Regression in c58a8acd413ccc992dd30afd98ed900897e1f719. Thanks to Shai Berger for the report and tests. Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com>
2022-11-15Avoided unnecessary usage of RawSQL.Simon Charette
This ensures proper alias quoting.
2022-11-14Fixed #34099 -- Added release notes for QuerySet.update_or_create() changes.sarahboyce
Follow up to 6cc0f22a73970dd7c0d29d4d8d2ff9e1cc862b30. Thanks Phil Gyford for the report.
2022-11-14Refs #34099 -- Doc'd that custom Model.save() should update update_fields kwarg.sarahboyce
2022-11-14Fixed #34074 -- Added headers argument to RequestFactory and Client classes.David Wobrock
2022-11-14Refs #25307 -- Replaced SQLQuery.rewrite_cols() by replace_expressions().Simon Charette
The latter offers a more generic interface that doesn't require specialized expression types handling.
2022-11-14Reduced nesting inside Query.get_aggregation().Simon Charette
2022-11-14Refs #28477 -- Fixed handling aliased annotations on aggregation.Simon Charette
Just like when using .annotate(), the .alias() method will generate the necessary JOINs to resolve the alias even if not selected. Since these JOINs could be multi-valued non-selected aggregates must be considered to require subquery wrapping as a GROUP BY is required to combine duplicated tuples from the base table. Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.
2022-11-14Fixed #34154 -- Made mixin headers consistent in auth docs.Tony Lechner
2022-11-11Fixed typo in SetPasswordForm()'s docstring.Vasiliy Ivanov
2022-11-11Refs #28477 -- Reduced complexity of aggregation over qualify queries.Simon Charette
2022-11-11Refs #34110 -- Added StorageSettingsMixin.Francesco Panico
2022-11-11Refs #34110 -- Reorganized django.core.files.storage into a separate module.Francesco Panico
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
- Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents
2022-11-10Improved readability of string interpolation in frequently used examples in ↵Trey Hunner
docs.
2022-11-10Fixed #34149 -- Allowed adding deferrable conditional exclusion constraints ↵Márton Salomváry
on PostgreSQL.
2022-11-10Improved async request factory and client docs.David Wobrock
2022-11-09Added Python 3.12 to daily builds.Mariusz Felisiak
2022-11-09Fixed #28477 -- Stripped unused annotations on aggregation.Simon Charette
Also avoid an unnecessary pushdown when aggregating over a query that doesn't have aggregate annotations.
2022-11-09Fixed #34135 -- Added async-compatible interface to related managers.Jon Janzen
2022-11-08Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.Marco Marra
2022-11-08Used super().execute/executemany() in SQLiteCursorWrapper.Nick Pope
2022-11-08Fixed #34063 -- Fixed reading request body with async request factory and ↵Scott Halgrim
client. Co-authored-by: Kevan Swanberg <kevswanberg@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-11-08Fixed #10070 -- Added support for pyformat style parameters on SQLite.Ryan Cheley
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-11-08Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() ↵Jon Janzen
methods for related managers. Bug in 58b27e0dbb3d31ca1438790870b2b51ecdb10500.
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
Adjusting WhereNode.as_sql() to raise an exception when encoutering a full match just like with empty matches ensures that all case are explicitly handled.
2022-11-07Refs #33374 -- Added tests for multi-table fast-deletion with filters that ↵Simon Charette
match everything.
2022-11-07Refs #33308 -- Improved adapting DecimalField values to decimal.Florian Apolloner
2022-11-07Refs #17144 -- Removed support for grouping by primary key.Simon Charette
No core backend require the feature anymore as it was only added to support a MySQL'ism that has been deprecated since then.
2022-11-07Fixed #31331 -- Switched MySQL to group by selected primary keys.Simon Charette
MySQL 5.7.15 supports group by functional dependences so there is no need to special case group by main table primary key anymore and special case the ONLY_FULL_GROUP_BY sql mode.
2022-11-07Refs #27849 -- Fixed filtered aggregates crash on filters that match everything.Simon Charette
2022-11-07Refs #27849 -- Added test for filtered aggregates with empty conditions.Simon Charette
2022-11-07Fixed #34137 -- Made Model.refresh_from_db() clear cached generic relations.Bhuvnesh
Thanks Simon Charette for the implementation idea.
2022-11-07Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.Daniel Ivanov
Bug in 480191244d12fefbf95854b2b117c71ffe44749a. Thanks Michal Čihař for the report.
2022-11-04Refs #33939 -- Improved transaction.on_commit() docs.Adam Johnson
2022-11-04Fixed #27654 -- Propagated alters_data attribute to callables overridden in ↵LightDiscord
subclasses. Thanks Shai Berger and Adam Johnson for reviews and the implementation idea.
2022-11-04Refs #34095 -- Changed height of form controls to use rem units in admin.jer
Co-authored-by: ja <ja@ja.com>
2022-11-04Fixed #34138 -- Avoided table rebuild when adding inline m2m fields on SQLite.Mariusz Felisiak
Regression in 2f73e5406d54cb8945e187eff302a3a3373350be. Thanks David Wobrock for the report.
2022-11-04Removed obsolete references to pysqlite.Nick Pope
Obsolete since 1b06d5e6f6be8e567ce78c892c485af039830d7d.
2022-11-04Noted that JSON1 extension is enabled by default on SQLite 3.38+.Nick Pope
2022-11-03Refs #33646 -- Moved tests of QuerySet async interface into async tests.Bhuvnesh