Ticket #15145: 15145_lame_solution.diff
File 15145_lame_solution.diff, 533 bytes (added by , 14 years ago) |
---|
-
django/db/models/sql/where.py
175 175 extra), params) 176 176 177 177 if lookup_type == 'in': 178 if not value_annot:179 raise EmptyResultSet180 178 if extra: 181 179 return ('%s IN %s' % (field_sql, extra), params) 182 180 max_in_list_size = connection.ops.max_in_list_size()