Changes between Version 3 and Version 4 of Ticket #32548, comment 6


Ignore:
Timestamp:
Mar 15, 2021, 7:33:22 PM (3 years ago)
Author:
jonathan-golorry

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32548, comment 6

    v3 v4  
    66
    77Edit: To clarify on my future work, I intend to add `.empty()` to detect nested empty Q objects -- such as `Q(Q())` -- and remove them from logical operations. This would currently cause a regression in `test_boolean_expression_combined_with_empty_Q`. Ultimately the goal is to add robust implementations of `Q.any()` and `Q.all()` that can't return empty Q objects that accidentally leak the entire table https://forum.djangoproject.com/t/improving-q-objects-with-true-false-and-none/851/9
     8
     9Edit 2: Patches are up. https://code.djangoproject.com/ticket/32549 and https://code.djangoproject.com/ticket/32554
Back to Top