Code

Changes between Initial Version and Version 1 of Ticket #19263, comment 4


Ignore:
Timestamp:
02/23/13 13:29:35 (14 months ago)
Author:
biern
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19263, comment 4

    initial v1  
    22 
    33This query failed: 
     4{{{#!python 
    45Book.objects.filter(author__in=Author.objects.empty()[0:0]) 
     6}}} 
    57while this succeded: 
     8{{{#!python 
    69Book.objects.filter(author__in=Author.objects.empty()) 
     10}}} 
    711 
    812Instead of later returning empty sql string, a QuerySet with equal indices is now immediately converted to QuerySet.none().