| Age | Commit message (Collapse) | Author |
|
|
|
through_defaults kwarg-only.
|
|
through model.
|
|
|
|
Reduces the possibility of circular imports.
|
|
Thanks Mariusz Felisiak for auditing.
|
|
|
|
|
|
|
|
Since CPython implements a C level attrgetter(*attrs) it even outperforms the
most common case of a single known related object since the resulting attribute
values tuple is built in C.
|
|
|
|
ForeignKey uses to_field.
Adjusted known related objects handling of target fields which relies on
from and to_fields and has the side effect of fixing a bug bug causing
N+1 queries when using reverse foreign objects.
Thanks Carsten Fuchs for the report.
|
|
|
|
Previously, foreign relationships were followed only one level deep which
prevents foreign keys to foreign keys from being resolved appropriately.
This was causing issues such as improper database value conversion for
UUIDField on SQLite because the resolved expression's output field's
internal type wasn't correct. Added tests to make sure unlikely foreign
reference cycles don't cause recursion errors.
Refs #24343.
Thanks oyooyo for the report and Wayne Merry for the investigation.
|
|
a many-to-many relation.
|
|
|
|
|
|
|
|
|
|
|
|
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.
|
|
descriptor.
|
|
unsaved model instances.
|
|
choices.
|
|
|
|
|
|
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
|
|
|
|
|
|
warnings.
https://bugs.python.org/issue25988
|
|
Regression in 514b2c989a948e3c59bda0da0c9427acf643cf5b.
|
|
Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c.
|
|
|
|
Regression in f9844f484186fa13399bf8b96f58616687fe158a.
Thanks Matthias Kestenholz for the report and suggestions.
|
|
|
|
continue statements.
|
|
|
|
|
|
|
|
Unused since a8a81aae20a81e012fddc24f3ede556501af64a2.
|
|
SQLite and MySQL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.
|
|
Thanks Tim for the review.
|
|
|