Changeset 7812
- Timestamp:
- 07/01/08 05:12:50 (5 months ago)
- Files:
-
- django/trunk/django/db/models/sql/query.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/db/models/sql/query.py
r7791 r7812 1132 1132 self.where.add(entry, AND) 1133 1133 break 1134 elif not (lookup_type == 'in' and not value) :1134 elif not (lookup_type == 'in' and not value) and field.null: 1135 1135 # Leaky abstraction artifact: We have to specifically 1136 1136 # exclude the "foo__in=[]" case from this handling, because
