Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
The_Fox
1 day ago
|
parent
|
context
|
favorite
| on:
Django: what’s new in 6.0
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
1 day 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.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
What I would like is a way to cut down the sprawl of urls and views.