def ajax_view(request):
    context = Context({'items': list(range(100))})
return_str = render_block_to_string('standard/subtemplate.html', 'results',
    context)
Rendering JSON objects using a Django template after an Ajax call