home / django_tickets / tickets

tickets: 6074

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
6074 2007-12-01 12:09:39 2008-04-27 02:50:16 2022-03-06 03:36:10.564022 Accepted closed Database layer (models, ORM)     dev fixed QOr doesn't handle two empty ResultSets correctly {{{ >>> from django.db.models import Q >>> from django.contrib.auth.models import User >>> User.objects.filter( Q( id__in=[] ) | Q( id__in=[] ) ) }}} Should be empty queryset, but is not whe generated WHERE clause is empty, the problem seems to be around django/db/models/query.py:725 raphael Honza_Kral or Q sql sprintdec01 qs-rf-fixed 0 1 0 0 0 0
Powered by Datasette · Queries took 1.855ms