1090
1090
# exclude the "foo__in=[]" case from this handling, because
1091
1091
# it's short-circuited in the Where class.
1092
1092
# We also need to handle the case where a subquery is provided
1094
entry.add((Constraint(alias, col, None), 'isnull', True), AND)
1093
self.where.add((Constraint(alias, col, None), 'isnull', False), AND)
1098
1095
if can_reuse is not None:
1099
1096
can_reuse.update(join_list)