The solution was simple, but not that obvious. In the view.py I had a view which was returning
Response(x)
where x was the output from my multiprocess code, but it is also a list. That caused a problem. Finally I went to use render_to_response and passsed the result as a part of a dictionary
return render_to_response('main.mak', {'results':x})