django-render-block
django-render-block copied to clipboard
What do you think of `from render_block import render_block_to_response`?
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.