| Age | Commit message (Collapse) | Author |
|
Backport of f2bef2b7bc6c817af0f5fa77e1052a1f5ce12f71 from master
|
|
pickleable Q().
Regression in bb0b6e526340e638522e093765e534df4e4393d2.
Backport of 466920f6d726eee90d5566e0a9948e92b33a122e from master
|
|
ordering on SQLite.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 4d99375b46ad03fa4b4795319973046f438328c8 from master
|
|
distinct().
Backport of 6307c3f1a123f5975c73b231e8ac4f115fd72c0d from master
|
|
Thanks Simon Charette for the review.
Backport of d4ac23bee1c84d8e4610350202ac068fc90f38c0 from master
|
|
EnumMeta has a new keyword argument 'boundary' in Python 3.10. This
is a new mechanism that controls how out-of-range / invalid bits are
handled, see https://bugs.python.org/issue38250.
Backport of 5d9b065d3f93de056588dfee6f1776294dd8bab2 from master
|
|
child after parent.
Follow up to 519016e5f25d7c0a040015724f9920581551cab0.
Backport of 7cba92ec55a5d05450261f375830619870ca84fa from master
|
|
'postgres' database.
Thanks Kazantcev Andrey for the report.
Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe.
Backport of f131841c601b9d4884adcdb284b4213c2ad89231 from master
|
|
expressions.
Backport of fdfbc66331292def201c9344e3cd29fbcbcd076a from master
|
|
and expressions as rhs.
This disables interpolation of constraint creation statements. Since
Constraint.create_sql interpolates its parameters instead of deferring
this responsibility to the backend connection it must disable
connection level parameters interpolation.
Backport of 42e8cf47c7ee2db238bf91197ea398126c546741 from master
|
|
auto-created primary keys for inherited PKs.
Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb.
Thanks אורי for the report.
Backport of a03a36121d22c8784985c7e45727eddef6a3ea7f from master
|
|
deferred SQL.
Migrations cannot be recorded in the same transaction as its associated
DDL operations when some of it is deferred until the schema editor
context exits.
Regression in c86a3d80a25acd1887319198ca21a84c451014ad.
Backport of 0c42cdf0d2422f4c080e93594d5d15381d6e955e from master
|
|
functional indexes.
|
|
DatabaseFeatures.supports_expression_indexes to True.
|
|
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
|
|
|
|
|
|
Follow up to 944469939b9eb93fda0924f78faba5c0ffae2dff.
|
|
|
|
Previously load_backend() performed search by computing the (sole)
entry of django.db.backends.__path__ manually from
django.db.utils.__file__. Now django.db.backends.__path__ is used
directly.
|
|
between apps.
|
|
|
|
no __file__ attribute.
The migrations loader prevents the use of PEP-420 namespace packages
for holding apps' migrations modules. Previously the loader tested for
this only by checking that app.migrations.__file__ is present. This
prevented migrations' being found in frozen Python environments that
don't set __file__ on any modules. Now the loader *additionally* checks
whether app.migrations.__path__ is a list because namespace packages
use a different type for __path__. Namespace packages continue to be
forbidden, and, in fact, users of normal Python environments should
experience no change whatsoever.
|
|
|
|
Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49.
|
|
SQL keywords.
|
|
argument optional and kwarg-only.
|
|
Calling super().__init__() is unnecessary and enforces the use of
various workarounds.
|
|
options removal.
|
|
already fetched.
Thanks Dennis Kliban for the report and Adam Johnson for the initial
patch.
Co-authored-by: Adam Johnson <me@adamj.eu>
|
|
This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField.
|
|
__isnull=True on key transforms should not match keys with NULL values.
|
|
set().
|
|
failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
|
|
|
|
|
|
|
|
|
|
expressions.
Thanks Mariusz Felisiak and Simon Charette for reviews.
|
|
transforms with non-string values on SQLite.
Thanks Gordon Wrigley for the report.
|
|
on SQLite.`
Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd.
Thanks Juan Garcia Alvite for the report.
|
|
|
|
Thanks Gordon Wrigley for the report.
Regression in df32fd42b84cc6dbba173201f244491b0d154a63.
|
|
Obsolete as of isort 5.
|
|
|
|
|
|
querysets ordered by annotations.
|
|
Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com>
|
|
annotations on PostgreSQL.
|
|
Regression was introduced by fff5186 but was due a long standing issue.
AggregateQuery was abusing Query.subquery: bool by stashing its
compiled inner query's SQL for later use in its compiler which made
select_format checks for Query.subquery wrongly assume the provide
query was a subquery.
This patch prevents that from happening by using a dedicated
inner_query attribute which is compiled at a later time by
SQLAggregateCompiler.
Moving the inner query's compilation to SQLAggregateCompiler.compile
had the side effect of addressing a long standing issue with
aggregation subquery pushdown which prevented converters from being
run. This is now fixed as the aggregation_regress adjustments
demonstrate.
Refs #25367.
Thanks Eran Keydar for the report.
|