Changes between Version 1 and Version 2 of Ticket #33482
- Timestamp:
- Feb 1, 2022, 8:38:19 AM (3 years ago)
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) 6 EmptyResultSet 7 }}} 6 8 7 9 With django-debug-toolbar I can still see the query, but there WHERE block is missing completely.