Live data from Hacker News

Django 6.0 beta 1 released

djangoproject.com

51–60 of 60 posts

Re: Django 6.0 beta 1 released

#53
post #36

Earlier quoted context omitted.

People generally don’t take the time to learn the framework and miss out on the tooling it provides. select_related for example. If I had a dollar for every project I’ve been hired to work on that didn’t use it, well, I actually do. Also, people in general don’t seem to be able to do more than very basic SQL, so creating views is seen as a little known performance “trick”. In general, people who don’t read the manual…

FYI you can avoid the manual sprinkling of select_related somewhat with https://pypi.org/project/django-auto-prefetch/ , which avoids the lowest hanging N+1 loops automatically. Definitely not a cure all but it helps.

Customers who like django-auto-prefetch may also like django-zeal: https://pypi.org/project/django-zeal/

Re: Django 6.0 beta 1 released

#55
post #52

How is django performance these days? I remember the average latencies(100ms+) for even simple things being a non-starter for me.

I noticed this in development mode but performance improved substantially in production

Re: Django 6.0 beta 1 released

#57
post #8

I love Django, and the new `tasks` framework to replace `celery` (/whatever processor you prefer) looks great. I've only recently come back to it, and I do hope they continue to add more batteries to their "batteries included" framework over time. I was surprised just how much stuff I had to add to my little project that will require updating _outside_ the main framework, eg.: * django-components for little template…

[dead]

Re: Django 6.0 beta 1 released

#58
post #18

I would really like if there was a way to integrate with non-Python ecosystems. I know this is way outside the scope of Django, but I still have to mention it. The moment you want to rely on a JavaScript library or generate some CSS you pretty much have to pull in Node and NPM because there just so much value in those ecosystems. And then you have to put up with a second ecosystem with its own build system and someho…

[dead]

Re: Django 6.0 beta 1 released

#59
post #12
post #9

Earlier quoted context omitted.

Is this handled by uv or do you need to use deadsnakes ppa?

If anything, you'd need the opposite, as deadsnakes is old versions (OP needs a new version).

deadsnakes has 3.13.8, 3.14.0 and 3.15-a1 for 22.04: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa?field....

Re: Django 6.0 beta 1 released

#60
post #12

Earlier quoted context omitted.

If anything, you'd need the opposite, as deadsnakes is old versions (OP needs a new version).

deadsnakes has 3.13.8, 3.14.0 and 3.15-a1 for 22.04: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa?field....

Oh interesting, I didn't realize they started including newer versions. I guess that makes the name a misnomer then...
Post reply on HN