| Age | Commit message (Collapse) | Author |
|
instead of a field name.
|
|
Thanks Claude Paroz for assistance with translations.
|
|
ManyToManyField.
|
|
Thanks Erwin Junge for the initial patch.
|
|
OneToOneField.
|
|
field the relation points to.
|
|
|
|
|
|
custom validator is callable.
|
|
comments and hints.
|
|
also a FK.
|
|
QuerySet.count() and exists() on a many-to-many relation."
This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to
a regression with custom managers.
|
|
related field is UUIDField.
|
|
defaults.
Thanks Claude Paroz for the initial patch.
|
|
message.
|
|
The single query insertion path is taken if the backend supports inserts
that ignore conflicts and m2m_changed signals don't have to be sent.
|
|
This prevents IntegrityError caused by race conditions between missing ids
retrieval and bulk insertions.
|
|
|
|
|
|
|
|
|
|
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
|