Earlier quoted context omitted.
There've been a variety of open source attempts at this idea. Is this official one now the best to use, or are the others still compelling?
https://django-cotton.com/ is component-based. I used it a bit, it's nice if you're used to the ways of front-end frameworks, I guess.
Django: what’s new in 6.0
51–60 of 127 posts
Re: Django: what’s new in 6.0
#52Earlier quoted context omitted.
https://django-cotton.com/ is component-based. I used it a bit, it's nice if you're used to the ways of front-end frameworks, I guess.
https://github.com/django-components/django-components also looked interesting
There is something very appeasing in just pulling Django and have all the basics covered. It's nice to have options when needed though.
Re: Django: what’s new in 6.0
#53Also, good to see first class support for Tasks, among a lot of other niceties!
Re: Django: what’s new in 6.0
#54Template 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.
* https://pypi.org/project/fast_html/
* https://fastht.ml/ (different to above, I think)
* https://github.com/volfpeter/fasthx
Probably others. I strongly prefer this to templating, but I find it makes dyed in the wool Django people squirm.
Re: Django: what’s new in 6.0
#55Template Partials and HTMX seems like the Django equivalent of View Components and Stimulus for Rails, which is nice. Also, good to see first class support for Tasks, among a lot of other niceties!
https://github.com/RealOrangeOne/django-tasks
Is that correct?
Re: Django: what’s new in 6.0
#56Re: Django: what’s new in 6.0
#57Earlier quoted context omitted.
Why is celery awful?
> The Many Problems with Celery: — https://steve.dignam.xyz/2023/05/20/many-problems-with-celer... > The problems with (Python’s) Celery: — https://docs.hatchet.run/blog/problems-with-celery > Dramatiq motivation: — https://dramatiq.io/motivation.html Here are some alternatives: Dramatiq: https://github.com/Bogdanp/dramatiq RQ: https://github.com/rq/rq Huey: https://github.com/coleifer/huey Hatchet: https://github.co…
Re: Django: what’s new in 6.0
#58Re: Django: what’s new in 6.0
#59Re: Django: what’s new in 6.0
#60Given that Python tends to produce fewer hallucinations when generated by LLMs I wonder if former Django developers using AI tools are secretly having a blast right now.
I get remarkably good and correct LLM output for Django projects compared to what I get in project with more fast moving and frequently API breaking frameworks.