Live data from Hacker News

Django: what’s new in 6.0

adamj.eu

21–30 of 127 posts

Re: Django: what’s new in 6.0

#21
post #3

Any code or blog written by Adam is worth spending some time on. It will be interesting to see how the tasks framework develops and expands. I am sad to see the great Django-Q2 lumped in with the awful Celery though.

I'm of the opinion that django task apps should only support a single backend. For example, django-rq for redis only. There's too many differences in backends to make a good app that can handle multiple. That said, I've only used celery in production before, and I'm willing to change my mind.

Re: Django: what’s new in 6.0

#22
post #17
post #14

Earlier quoted context omitted.

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...

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.

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.

Re: Django: what’s new in 6.0

#23
post #20

[flagged]

https://en.wikipedia.org/wiki/Context

That didn't stop people from throwing a fit over master-slave terminology in software (having nothing to do with slavery), going so far as to rename long-standing development branch names, as well as put significant effort into removing such terms from the code itself and any documentation.

Re: Django: what’s new in 6.0

#25

[flagged]

We don't need to bring this kind of thing up. We're not school children and most of us are technology professionals, so the meaning is clear.

These guidelines are relevant here:

Eschew flamebait. Avoid generic tangents. Omit internet tropes.

Please don't pick the most provocative thing in an article or post to complain about in the thread. Find something interesting to respond to instead.

Please don't complain about tangential annoyances—e.g. ... name collisions ... . They're too common to be interesting.

https://news.ycombinator.com/newsguidelines.html

Re: Django: what’s new in 6.0

#26
post #18

[flagged]

Well, https://en.wikipedia.org/wiki/Nonce_word 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?)

I mean, it is sad. But unfortunately that is what happened with "master", "slave", "whitelist", and "blacklist". No reasonable person construed these as offensive or having any implications about the wider world. But there are people in our profession who are determined to take offense where none is given, and unfortunately they got their way.

Re: Django: what’s new in 6.0

#27

Template 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.

Key benefit for reusability and composability in React is IMHO that they don't use templates at all, but everything is a function.

Re: Django: what’s new in 6.0

#29
post #3

Any code or blog written by Adam is worth spending some time on. It will be interesting to see how the tasks framework develops and expands. I am sad to see the great Django-Q2 lumped in with the awful Celery though.

OP here, thanks for the praise!

Yeah, I mentioned Celery due to its popularity, no other reason ;)

Re: Django: what’s new in 6.0

#30
post #3

Any code or blog written by Adam is worth spending some time on. It will be interesting to see how the tasks framework develops and expands. I am sad to see the great Django-Q2 lumped in with the awful Celery though.

Computer, load up Celery Man please.
Post reply on HN