I meant:

    context = {
        ..
    }
    return render_to_string(templates, context)