[flagged]
Django: what’s new in 6.0
11–20 of 127 posts
Re: Django: what’s new in 6.0
#12Template partials look good, which is one of the key reasons frameworks like React are as good and popular as they are, because you can reuse small segments of code.
Re: Django: what’s new in 6.0
#13Re: Django: what’s new in 6.0
#14Template partials look good, which is one of the key reasons frameworks like React are as good and popular as they are, because you can reuse small segments of code.
But you could already reuse templates in Django by including them. What am I missing?
https://adamj.eu/tech/2025/12/03/django-whats-new-6.0/#rende...
Re: Django: what’s new in 6.0
#15Earlier quoted context omitted.
How is it different from include? Just less files from my perspective
The "inline partials" feature is neat, means you can use and define a partial at the same time. The way you can render just a named partial from both the render() shortcut and the include tag is nice too: https://docs.djangoproject.com/en/6.0/ref/templates/language...
Re: Django: what’s new in 6.0
#16Re: Django: what’s new in 6.0
#17Earlier quoted context omitted.
But you could already reuse templates in Django by including them. What am I missing?
Check out the HTMX example in the blog, this helped me better understand how it could be used https://adamj.eu/tech/2025/12/03/django-whats-new-6.0/#rende...
What I would like is a way to cut down the sprawl of urls and views.
Re: Django: what’s new in 6.0
#18[flagged]
It makes me sad when a secondary meaning, which does not even overcome the main meaning in usage, becomes an obstacle for the normal use of a word. It's like seeing a rainbow as a sexualized symbol not fit for children, because it also happens to be used by LGBTQ+ community. (BTW, since you're a Brit: did people stop using the word "fag" to refer to a cigarette?)
Re: Django: what’s new in 6.0
#19Re: Django: what’s new in 6.0
#20[flagged]