5 | 5 | There are other complex cases to be solved for .split_exclude() - for example `.exclude(owner__things__date__gte=date1, owner__things__date__lte=date2)` doesn't work currently, and I suspect there are similar problems if you use complex boolean trees where some parts refer to outer query, some parts to inner. The most complex case is to have references to two different m2m joins, something like: `.exclude(owner__things__date__gte=date1, creator__things__date__lte=date2)`. I am not even sure how to write that in SQL using subqueries... |