def heavy_data_2(request):
    term = request.GET.get("term", "")
    numbers = ['Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Fortytwo']
    numbers = filter(lambda num: num.lower() in term.lower(), numbers)
    results = [{'id': index, 'text': value} for (index, value) in enumerate(numbers)]
    return HttpResponse(json.dumps({'err': 'nil', 'results': results}), content_type='application/json')
dataset/ETHPy150Open applegrew/django-select2/tests/testapp/views.py/heavy_data_2/swapped operands of `in`