def heavy_data_1(request):
    term = request.GET.get("term", "")
    numbers = ['Zero', 'One', 'Two', 'Three', 'Four', 'Five']
    numbers = filter(lambda num: term.lower() in num.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_1/original