diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index 0913399..ec47744 100644
a
|
b
|
class Query(object):
|
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 |
1093 | | entry = self.where_class() |
1094 | | entry.add((Constraint(alias, col, None), 'isnull', True), AND) |
1095 | | entry.negate() |
1096 | | self.where.add(entry, AND) |
| 1093 | self.where.add((Constraint(alias, col, None), 'isnull', False), AND) |
1097 | 1094 | |
1098 | 1095 | if can_reuse is not None: |
1099 | 1096 | can_reuse.update(join_list) |