django/tests/modeltests/expressions
Anssi Kääriäinen 90c7aa0740 [1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressions
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 90b86291d0
2012-11-23 20:07:50 +02:00
..
__init__.py Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage. 2009-01-29 10:46:36 +00:00
models.py Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions" 2012-10-10 01:15:29 +03:00
tests.py [1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressions 2012-11-23 20:07:50 +02:00