top | item 46211411 (no title) teagee | 2 months ago Check out the HTMX example in the blog, this helped me better understand how it could be usedhttps://adamj.eu/tech/2025/12/03/django-whats-new-6.0/#rende... discuss order hn newest The_Fox|2 months ago I'm an avid HTMX user but never did I ever think "I'm using so many includes, I wish I didn't have to use include so much."What I would like is a way to cut down the sprawl of urls and views. adparadox|2 months ago I do a check for `request.htmx` in my views and conditionally return a template partial as needed. This reduced my need for one-off view functions that were only returning partials for htmx. Works pretty well from my experience.
The_Fox|2 months ago I'm an avid HTMX user but never did I ever think "I'm using so many includes, I wish I didn't have to use include so much."What I would like is a way to cut down the sprawl of urls and views. adparadox|2 months ago I do a check for `request.htmx` in my views and conditionally return a template partial as needed. This reduced my need for one-off view functions that were only returning partials for htmx. Works pretty well from my experience.
adparadox|2 months ago I do a check for `request.htmx` in my views and conditionally return a template partial as needed. This reduced my need for one-off view functions that were only returning partials for htmx. Works pretty well from my experience.
The_Fox|2 months ago
What I would like is a way to cut down the sprawl of urls and views.
adparadox|2 months ago