Ticket #10432: patch-10432-1.diff
File patch-10432-1.diff, 539 bytes (added by , 16 years ago) |
---|
-
django/db/models/sql/where.py
166 166 extra), params) 167 167 168 168 if lookup_type == 'in': 169 if not value_annot :169 if not value_annot or (not extra and not params): 170 170 raise EmptyResultSet 171 171 if extra: 172 172 return ('%s IN %s' % (field_sql, extra), params)