﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32657	Combining an empty Q with a negated Exists un-negates the Exists lookup	Jaap Roes	Simon Charette	"The following test case fails in Django 3.2 and main:

{{{
class TestEmptyQExistsCombination(TestCase):
    def test_combine(self):
        q = Q() & Exists(Book.objects.all())
        self.assertFalse(q.negated)  # passes

    def test_combine_negated(self):
        q = Q() & ~Exists(Book.objects.all())
        self.assertTrue(q.negated)  # fails
}}}

I noticed this issue trying to work around issue #32651/ #32548."	Bug	closed	Database layer (models, ORM)	3.2	Normal	fixed		Simon Charette	Ready for checkin	1	0	0	0	0	0
