| Age | Commit message (Collapse) | Author |
|
ManyToManyField to lowercased swappable setting.
Thanks Chris Lee for the report.
Regression in 43289707809c814a70f0db38ca4f82f35f43dbfd.
Refs #23916.
Backport of 1e2e1be02bdf0fe4add0d0279dbca1d74ae28ad7 from main
|
|
length.
Backport of 7119f40c9881666b6f9b5cf7df09ee1d21cc8344 from main.
|
|
Backport of 9c19aff7c7561e3a82978a272ecdaad40dda5c00 from main.
|
|
In these cases Black produces unexpected results, e.g.
def make_random_password(
self,
length=10,
allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
[table name],
)
Backport of c5cd8783825b5f6384417dac5f3889b4210b7d08 from main.
|
|
renamed model.
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
Backport of 97a72744681d0993b50dee952cf32cdf9650ad9f from main
|
|
aggregates with default.
Thanks Adam Johnson for the report.
Backport of 71e7c8e73712419626f1c2b6ec036e8559a2d667 from main
|
|
key with MTI and foreign key.
This prevents duplicated operations when altering type of primary key
with MTI and foreign key. Previously, a foreign key to the base model
was added twice, once directly and once by the inheritance model.
Thanks bcail for the report.
Regression in 325d7710ce9f6155bb55610ad6b4580d31263557.
Backport of e972620ada4f9ed7bc57f28e133e85c85b0a7b20 from main
|
|
Meta.order_with_respect_to but with _order field.
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
Backport of eeff1787b0aa23016e4844c0f537d5093a95a356 from main
|
|
psycopg2 2.8.4 is the first release to support Python 3.8.
Backport of ca04659b4b3f042c1bc7e557c25ed91e3c56c745 from main
|
|
constraints.
Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa.
Thanks Hervé Le Roy for the report.
Backport of 1eaf38fa87384fe26d1abf6e389d6df1600d4d8c from main
|
|
on PostgreSQL.
This makes models.BinaryField pickleable on PostgreSQL.
Regression in 3cf80d3fcf7446afdde16a2be515c423f720e54d.
Thanks Adam Zimmerman for the report.
Backport of 2c7846d992ca512d36a73f518205015c88ed088c from main.
|
|
Thanks yakimka for the report.
Regression in fde9b7d35e4e185903cc14aa587ca870037941b1.
Backport of 661316b066923493ff91d6d2aa92e463f595a6b1 from main.
|
|
from non-model class.
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
Thanks Kevin Marsh for the report.
Backport of dab48b7482295956973879d15bfd4d3bb0718772 from main
|
|
before altering fields.
Backport of 0314593fe8e7dc685bbb6585eee40e755588864e from main
|
|
functional indexes/unique constraints on SQLite.
This adjusts Expressions.rename_table_references() to only update alias
when needed.
Regression in 83fcfc9ec8610540948815e127101f1206562ead.
Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main
|
|
migrations.
Regression in 02bc7161ec477afd4a7b328936eb8adac078d7b9.
Backport of aa0d796e37c4b8056148de2f68726aae9d20399c from main
|
|
on PostgreSQL.
Backport of 98c8bf1ceeab5c68751c83555f82cff1a9120a67 from main
|
|
to create a shallow copy of children."
This reverts commit e441847ecae99dd1ccd0d9ce76dbcff51afa863c.
A shallow copy is not enough because querysets can be reused and
evaluated in nested nodes, which shouldn't mutate JOIN aliases.
Thanks Michal Čihař for the report.
Backport of 903aaa35e5ceaa33bfc9b19b7f6da65ce5a91dd4 from main
|
|
Thanks Simon Charette for the review and implementation idea.
Backport of dd1fa3a31b4680c0d3712e6ae122b878138580c7 from main
|
|
empty_result_set_value.
Backport of ad36a198a12df4dff65992191b3eb0a474e2daac from main
|
|
Backport of b7fd668b37341fc92d67c4854c4f244e10895c9b from main
|
|
migrations.
Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
Backport of 3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946 from main
|
|
This avoids constructing a generator expression and a new tuple if the
Query has no combined queries.
|
|
|
|
|
|
This removes unnecessary "if ... is None" branches, which are already
shallow-copied in the __dict__.copy() call.
|
|
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews.
|
|
limit_choices_to.
|
|
queryset annotation.
|
|
Thanks Matt Hoskins for the report.
|
|
when altering type of referenced primary key on Oracle.
|
|
|
|
|
|
|
|
Thanks Simon Charette and Chris Jerdonek for reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
ProjectState.resolve_model_relations()/resolve_model_field_relations() hooks.
|
|
This also improves performance on MySQL instances with a large number
of databases, since querying the information_schema table can be very
slow
|
|
|
|
Query.build_lookup() when not necessary.
Of the built-in backends, only Oracle treats empty strings and nulls as
equal, so avoid testing the default connection backend for
interprets_empty_strings_as_nulls if it can be established from the
lookup that it wouldn't affect the lookup instance returned. This
improves performance a small amount for most lookups being built,
because accessing the connections requires touching the thread critical
`Local` which is an expensive operation.
|
|
not a set.
|
|
|
|
Unnecessary since its introduction in 1df89a60c5b7a28d7fda4c9ba7c07f02fd7de0fa.
|
|
The functionality of updating the __dict__ was only present to allow
for pickling a Prefetch object, which is a comparably rare operation.
Forcing the __getstate__() implementation to handle it allows the
chaining operation to be slightly faster, which is much more common.
|
|
M2M fields.
Since ManyToManyFields defined with `symmetrical=True` do not add a
related field to the target model, including a `related_name` argument
will never do what the coder likely expects. This makes including
a related_name with a symmetrical model raise a system check warning.
ticket-32983
|
|
|
|
|
|
|
|
DateTimeCheckMixin classes.
|
|
default when USE_TZ = True.
|