Changes between Version 1 and Version 2 of Ticket #21703, comment 5


Ignore:
Timestamp:
May 30, 2016, 7:55:19 AM (8 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21703, comment 5

    v1 v2  
    55There 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...
    66
    7 It seems #18762 is at least close to this, if not duplicate. I haven't done enough research to be certain.
     7It seems #18726 is at least close to this, if not duplicate. I haven't done enough research to be certain.
Back to Top