mirror of https://github.com/django/django.git
90c7aa0740
F() expressions reuse joins like any lookup in a .filter() call -
reuse multijoins generated in the same .filter() call else generate
new joins. Also, lookups can now reuse joins generated by F().
This change is backwards incompatible, but it is required to prevent
dict randomization from generating different queries depending on
.filter() kwarg ordering. The new way is also more consistent in how
joins are reused.
Backpatch of
|
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |