django-render-block icon indicating copy to clipboard operation
django-render-block copied to clipboard

What do you think of `from render_block import render_block_to_response`?

Open jillesme opened this issue 6 months ago • 6 comments

Hi @clokep,

Lovely package you created! It's wonderful to use with HTMX.

What do you think of exporting render_block_to_response? I often do return HttpResponse(render_block_to_string(...)), would be nice to be able to just do render_block_to_response with the same args. I've created a helper utility in my own codebase, but I think other people might benefit from that too.

jillesme avatar Aug 17 '24 16:08 jillesme