I think you can use the render_to_string shortcut. So in applications you add:
render_to_string(somestuff)
and then in the index view something like this:
render(request, 'index.html', {'block1': view1(request), 'block2': view2(request)})
PS: Also, after I wrote this, it doesnβt look very pretty (it looked better in my head :)).
source share