Skip to content

QuerySet results incorrect when Q() is empty or full #22

Closed
@timgraham

Description

@timgraham

For example, Article.objects.filter(Q(pk__in=[]) | Q(headline__icontains="goodbye")) returns no results instead of matching the latter condition (or_lookups.tests.OrLookupsTests.test_empty_in).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions