frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Django 6.0 beta 1 released

https://www.djangoproject.com/weblog/2025/oct/22/django-60-beta-released/
69•webology•3h ago

Comments

webology•3h ago
Django 6.0 beta 1 is now available. It represents the second stage in the 6.0 release cycle and is an opportunity to try out the changes coming in Django 6.0.
ranger_danger•2h ago
Incompatible with the default Ubuntu 22.04 LTS python version, just FYI (uses 3.10 whereas the minimum is now 3.12).
wolf550e•1h ago
Is this handled by uv or do you need to use deadsnakes ppa?
stavros•1h ago
If anything, you'd need the opposite, as deadsnakes is old versions (OP needs a new version).
collinmanderson•1h ago
Yes, that's pretty typical. I think there's a general assumption if you're using older python you'll probably stick to Django LTS 5.2 from this April which still supports Python 3.10.

They only drop python versions right after LTS (which is part of why they increase the major version at that point). https://docs.djangoproject.com/en/dev/faq/install/#what-pyth...

Also Django LTS 5.2 is supported a year longer than Ubuntu 22.04. (April 2028 vs April 2027)

davidkwast•1h ago
You can always use pyenv to install any Python on any mainstream Linux. I only use pyenv Python to develop on any laptop or any server. My dev laptop is still Ubuntu 22.04 and I have any Python from 2.7 to 3.14 .

https://github.com/pyenv/pyenv

Simple Python version management

majorchord•57m ago
Wow I had no idea about that, thanks!
gdulli•1h ago
Building Python from source is trivial, I wouldn't let the distro dictate what I can and can't use for such an important part of the stack.
stackskipton•40m ago
Ops here, using System Python is always asking for trouble, just put Django into a container and call it a day.
ranger_danger•26m ago
What kind of trouble? That's all I've ever used for the last 15 years of my professional Django work and never had any issues...
tkcranny•2h ago
Looks like Django 6 is getting an offical task system.

There’s no real world brokers or workers supported (at least built in), but still centralising around a standard interface might make things nicer than the celery tentacle monsters Django apps eventually tend to mutate into.

ponytech•1h ago
I don´t understand how you could use this new tasks system in production if there is no real workers when it's released? Are there any 3rd party yet?
HiPhish•1h ago
I guess the idea is first to provide a generic interface to connect various backends to and let the community develop those. Users of Django should then be able to swap one out for another. Maybe one will emerge as a quasi-standard or maybe it will be like database backends where different backends serve different purposes.

At leas that's my guess.

ranger_danger•1h ago
My understanding is that if you just need to return a response to the client as quickly as possible, but are ok with then processing your task directly after that, then it's still usable today.

But if you want to schedule a task further in the future, then a new backend will be needed for that.

dabeeeenster•1h ago
I think the bigger use case is being able to (backoff) retry failing API calls to 3rd party services. AFAIUI the new tasks package doesnt offer this in v1 which is a deal breaker for my project, at least.
majorchord•1h ago
For me I think it works well as is because my use case is sending several different emails after POST'ing to a view, which, there is no need to make the user wait for in my case, as they don't care about the status of the mail delivery.

But I realize there are many other usecases too that will need proper workers.

gdulli•1h ago
Right, I'd never touch celery, but RQ is simple and has never let me down.
varispeed•2h ago
I love Django - it's so boring and just works.

It is fairly LLM friendly, so it is dead easy to whip up an admin panel for something in an evening.

pryelluw•2h ago
Love me Django and excited about this release. It’s been quite a journey through the years. I started working with it a little before 1.0 and continue to do so. Nowadays as an independent consultant which gives me the ability to really help keep Django systems up to date.

Yes, there’s some rough edges. Like updating can be tricky sometimes, and performance relating to DB queries is a skill in itself, but in general it’s a great framework to build most web software out there.

vecter•1h ago
What're some DB query performance issues you've run across in the past and how did you resolve them?
ranger_danger•1h ago
I assume they are referring to the default behavior of the ORM fetching all fields for a model by default, and the frequent need to use select_related/prefetch_related to group your queries into larger ones that are (usually) much faster than making many small queries for related tables.
pryelluw•1h ago
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.

frio•2h ago
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 partials (I'm not sure the new partials feature is robust enough to replace this)

* django-(configurator,split-settings,pick-your-poison-here) for more robust settings management

* structlog for much better logging (feels like this should get baked into Python's stdlib...)

* debug-toolbar

* dj-database-url for parsing database URLs (should be baked in!)

* django-money

There's plenty of other deps that are less annoying/surprising (eg. Sentry, granian, Tailwind), but the set above feel like more or less like they should be baked in, and (to my mind) don't represent an inordinate amount of work to adopt.

Other than that, it's been a real pleasure coming back to it, and I'm excited for its continuation.

EDIT -- oh, and built-in static types, stubs and stubs-ext were a bit of a nightmare to get working well.

ranger_danger•1h ago
In addition to the debug-toolbar, I'd really like people to know about https://github.com/jazzband/django-silk (no affiliation)

I just recently found it and it has been amazing. It logs all your requests and responses by default (but is quite configurable) as well as your SQL queries (and how many/how long they take), in an easily searchable database. It can even profile functions for you.

Makes it very to see at a glance what pages are slow for people, and why, so they can be optimized accordingly.

frio•7m ago
This is neat, thanks :)
hooverd•1h ago
Django tasks!? Waow.
HiPhish•1h ago
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 somehow have to magically tie those two together, adding adapters on top of adapters.
esafak•1h ago
Like for what?
lpellis•22m ago
A task framework could be very useful, setting up celery task can get complicated very fast, especially once you have multiple servers with rolling deploys or recurring task (celery-beat). Rails has active-job and is always something I felt was missing from Django.

Ovi: Twin backbone cross-modal fusion for audio-video generation

https://github.com/character-ai/Ovi
200•montyanderson•3h ago•58 comments

Willow quantum chip demonstrates verifiable quantum advantage on hardware

https://blog.google/technology/research/quantum-echoes-willow-verifiable-quantum-advantage/
341•AbhishekParmar•7h ago•159 comments

JMAP for Calendars, Contacts and Files Now in Stalwart

https://stalw.art/blog/jmap-collaboration/
203•StalwartLabs•5h ago•82 comments

Why SSA Compilers?

https://mcyoung.xyz/2025/10/21/ssa-1/
59•transpute•2h ago•19 comments

Mass Assignment Vulnerability Exposes Max Verstappen Passport and F1 Drivers PII

https://ian.sh/fia
170•galnagli•4h ago•42 comments

Scripts I wrote that I use all the time

https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
366•speckx•7h ago•130 comments

Element: setHTML() method

https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
80•todsacerdoti•13h ago•33 comments

Rivian's TM-B electric bike

https://www.theverge.com/news/804157/rivian-tm-b-electric-bike-price-specs-helmet-quad
98•hasheddan•4h ago•159 comments

Common yeast can survive Martian conditions

https://phys.org/news/2025-10-common-yeast-survive-martian-conditions.html
29•geox•1w ago•11 comments

InpharmD (YC W21) Is Hiring – NLP Engineer

https://inpharmd.com/jobs/inpharmd-is-hiring-ai-ml-engineer
1•tulasichintha•1h ago

Show HN: Cuq – Formal Verification of Rust GPU Kernels

https://github.com/neelsomani/cuq
25•nsomani•3h ago•19 comments

Karpathy on DeepSeek-OCR paper: Are pixels better inputs to LLMs than text?

https://twitter.com/karpathy/status/1980397031542989305
56•JnBrymn•1d ago•11 comments

MinIO stops distributing free Docker images

https://github.com/minio/minio/issues/21647#issuecomment-3418675115
633•LexSiga•16h ago•374 comments

I, Sharpie

https://www.commonplace.org/p/chris-griswold-i-sharpie
8•delichon•6d ago•2 comments

The Tonnetz

https://thetonnetz.com/
37•mci•4d ago•6 comments

I see a future in jj

https://steveklabnik.com/writing/i-see-a-future-in-jj/
169•steveklabnik•5h ago•102 comments

Rethinking CQRS: An Interview on OpenCQRS

https://docs.eventsourcingdb.io/blog/2025/10/23/rethinking-cqrs-an-interview-on-opencqrs/
9•goloroden•2h ago•0 comments

Cryptographic Issues in Cloudflare's Circl FourQ Implementation (CVE-2025-8556)

https://www.botanica.software/blog/cryptographic-issues-in-cloudflares-circl-fourq-implementation
137•botanica_labs•8h ago•66 comments

HP SitePrint

https://www.hp.com/us-en/printers/site-print/layout-robot.html
135•gjvc•5h ago•99 comments

André Gorz predicted the revolt against meaningless work (2023)

https://znetwork.org/znetarticle/andre-gorz-was-the-theorist-who-predicted-the-revolt-against-mea...
73•robtherobber•6d ago•18 comments

Galaxy XR: The first Android XR headset

https://blog.google/products/android/samsung-galaxy-xr/
140•thelastgallon•6h ago•157 comments

YASA beats own power density record pushing electric motor to 59kW/kg benchmark

https://yasa.com/news/yasa-smashes-own-unofficial-power-density-world-record-pushing-state-of-the...
6•breve•1h ago•0 comments

Meta is axing 600 roles across its AI division

https://www.theverge.com/news/804253/meta-ai-research-layoffs-fair-superintelligence
415•Lionga•6h ago•333 comments

Linux Capabilities Revisited

https://dfir.ch/posts/linux_capabilities/
159•Harvesterify•9h ago•32 comments

Iceland reports the presence of mosquitoes as climate warms

https://www.npr.org/2025/10/22/nx-s1-5582748/iceland-mosquitoes-first-time
14•sans_souse•36m ago•1 comments

ROG Xbox Ally runs better on Linux than Windows it ships with

https://www.tomshardware.com/video-games/handheld-gaming/rog-xbox-ally-runs-better-on-linux-than-...
124•jrepinc•3h ago•89 comments

Django 6.0 beta 1 released

https://www.djangoproject.com/weblog/2025/oct/22/django-60-beta-released/
69•webology•3h ago•29 comments

Greg Newby, CEO of Project Gutenberg Literary Archive Foundation, has died

https://www.pgdp.net/wiki/In_Memoriam/gbnewby
487•ron_k•13h ago•68 comments

SourceFS: A 2h+ Android build becomes a 15m task with a virtual filesystem

https://www.source.dev/journal/sourcefs
112•cdesai•10h ago•51 comments

Google flags Immich sites as dangerous

https://immich.app/blog/google-flags-immich-as-dangerous
9•janpio•1h ago•1 comments