Ticket #15145: 15145_lame_solution.diff

File 15145_lame_solution.diff, 533 bytes (added by Sam Thompson, 14 years ago)

illustrative patch, no a solution

  • django/db/models/sql/where.py

     
    175175                              extra), params)
    176176
    177177        if lookup_type == 'in':
    178             if not value_annot:
    179                 raise EmptyResultSet
    180178            if extra:
    181179                return ('%s IN %s' % (field_sql, extra), params)
    182180            max_in_list_size = connection.ops.max_in_list_size()
Back to Top