1
0
mirror of https://github.com/django/django.git synced 2024-11-19 16:04:13 +00:00
django/tests/modeltests/expressions
Anssi Kääriäinen 90b86291d0 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.
2012-11-23 19:53:04 +02:00
..
__init__.py
models.py Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions" 2012-10-10 01:15:29 +03:00
tests.py Fixed #18375 -- Removed dict-ordering dependency for F-expressions 2012-11-23 19:53:04 +02:00