Django: Combined Query Crash and Multi-DB Fix
Two targeted ORM reliability fixes landed, with a merged crash fix for combined querysets as the highest impact. A second open proposal would make uniqueness checks respect the routed database in multi-DB setups.
Duration: PT2M3S
Episode overview
This episode is a short developer briefing from Django.
It explains recent repository work in plain language.
- Show: Django
- Published: 2026-11-23T14:03:53Z
- Audio duration: PT2M3S
Source and disclosure
Django is an unofficial, AI-generated summary of public activity in django/django on GitHub.
Podlog isn't affiliated with or endorsed by the project or its maintainers. Episodes aren't reviewed by a person before they go out, so check the source repository for the full story.
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, it's Monday, November 23rd, 2026, with your Django developer briefing.
There is no sweeping feature or single refactor today. The signal is small, targeted reliability work in the ORM, with one merged crash fix as the clear highest-impact change.
The first theme is combining querysets when default ordering crosses a relation. Since the earlier change for issue 36644, default ordering is applied after union, intersection, and difference operations. When that ordering references a related field, the ordering term does not match any column in the combined…
The second theme is multi-database correctness for uniqueness validation. The model uniqueness checking routine was consulting the default connection to decide how empty strings are treated as nulls, even though the actual uniqueness query is routed through database routers. That mismatch matters when your databases…
What is next is straightforward. If you hit the combined-query crash, plan to pick up the fix in an upcoming bugfix release and keep default ordering intact. If you run multiple databases with different empty-string handling, follow PR 22327 through review and test your unique validation against the routed…
Th…
Nearby episodes from Django
- Accept Header Crashes and Admin Reliability Fixes
- Hardening Requests and Admin Against Crashes
- Oracle Ordering Failure and Geo Test Alignment
- Cache Compatibility and Query Regression Fixes
- Weekly Recap - ORM Correctness, Migration State, and Trust Boundaries
- Migration Rollback Crash and Query Error Fixes
- Memcached Stability and Silent Data Fixes
- Peer Fetch Correctness and Migration State Fixes