Changes between Version 2 and Version 4 of Ticket #37372


Ignore:
Timestamp:
Sep 30, 2026, 11:48:46 PM (2 weeks ago)
Author:
Annabelle Wiegart
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37372

    • Property Has patch set
  • Ticket #37372 – Description

    v2 v4  
    88#20024 was created 14 years ago. The suggested change made sense back then, but conflicts with the fix for #31667 implemented in the meantime. This led to the fix for #20024 being ineffective, and the targeting of null values in `__in` lookups being made impossible.
    99
    10 A bit more context for 2.: It was decided to discard None from the rhs for `__in` lookups with `.filter()`, since NULL is never equal to anything. That means that the None values have to be included in the `.exclude()` queryset in order for `.filter()` and `.exclude()` to produce complementary querysets.
    11 
    1210DryORM fiddle: https://dryorm.xterm.info/in-lookups-with-none
Back to Top