| Age | Commit message (Collapse) | Author |
|
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 replaces assertQuerysetEqual() to
assertSequenceEqual()/assertCountEqual() where appropriate.
Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
m2o relation.
|
|
|
|
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
|
|
|
|
queryset.
|
|
|
|
Added internal interface to QuerySet that allows to defer next filter
call till .query is accessed. Used it to optimize prefetch_related().
Thanks Simon Charette for the review.
|
|
implemented comparisons.
Changed __eq__ to return NotImplemented instead of False if compared to
an object of the same type, as is recommended by the Python data model
reference. Now these models can be compared to ANY (or other objects
with __eq__ overwritten) without returning False automatically.
|
|
|
|
|
|
|
|
prefetch_related_objects().
|
|
also a FK.
|
|
related field is UUIDField.
|
|
favor of databases.
|
|
|
|
|
|
|
|
Regression in 514b2c989a948e3c59bda0da0c9427acf643cf5b.
|
|
|
|
|
|
OneToOneField primary key to a non-pk field.
|
|
|
|
|
|
|
|
|
|
nested Prefetches.
|
|
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
|
|
Python docs say, "it's usually not necessary to invoke these methods directly."
|
|
|
|
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
|
|
|
|
_apply_rel_filters() method.
Per deprecation timeline.
|
|
After refs #16614, integers might appear outside the WHERE clause.
|
|
|
|
|
|
Thanks Trac alias karyon for the report and Tim for the review.
|
|
through attr.
Thanks Ursidours for the report.
|
|
Thanks Maxime Lorant for the report and Anssi for the suggestion.
|
|
|
|
prefetching their results.
Thanks Loïc for the suggested improvements and Tim for the review.
|
|
relations.
|
|
|
|
|
|
|
|
|