Changes between Version 1 and Version 2 of Ticket #33482


Ignore:
Timestamp:
Feb 1, 2022, 8:38:19 AM (3 years ago)
Author:
Tobias Bengfort
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33482 – Description

    v1 v2  
    1     >>> qs = MyModel.objects.filter(~models.Exists(MyModel.objects.none()), name='test')
    2     >>> qs
    3     <QuerySet []>
    4     >>> print(qs.query)
    5     EmptyResultSet
     1{{{
     2>>> qs = MyModel.objects.filter(~models.Exists(MyModel.objects.none()), name='test')
     3>>> qs
     4<QuerySet []>
     5>>> print(qs.query)
     6EmptyResultSet
     7}}}
    68
    79With django-debug-toolbar I can still see the query, but there WHERE block is missing completely.
Back to Top