Django: Distinct Alias Fix, Docs Cleanup and Test Skips

Django landed a fix so distinct with field arguments correctly resolves annotation aliases containing double underscores, alongside docs cleanup and corrected Oracle test pilot skips. No broader pattern emerged; the distinct fix carries the highest developer impact.

Duration: PT3S

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-09-29T13:08:21Z
  • Audio duration: PT3S

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 September 29th, 2026.

The headline is a correctness fix for distinct queries using annotation aliases that contain double underscores, with remaining activity tightening documentation and test skipping.

First, query reliability. Pull request 22044, landed as commit dffadf6, fixes ticket 37350. Previously, the compiler for distinct split each field name on the double underscore separator before checking if it was an annotation alias, so aliases that themselves contained double underscores would not resolve. The fix…

Second, documentation reliability. Pull request 22042 removes nine unused hyperlink targets across the docs that pointed to pages that do not exist and would have resolved as not-found errors. Since nothing referenced them, removal reduces maintenance burden and avoids future broken links. Separately, pull request…

Finally, test infrastructure. Pull request 22045, referencing ticket 37136, corrects skip logic for the Oracle test pilot. The prior skips were negated and checked the wrong variable, causing unintended skips on the main repository. The corrected logic now only skips on the mirror where the pilot runs. For…

What's next: if you rely on distinct…

Nearby episodes from Django

  1. Async Iterator Cleanup and Distinct Alias Fix
  2. Weekly Recap - Async Safety and Speed Plus ORM Reliability
  3. Unnamed URL Translation Fix and Query Cleanup
  4. Null Query Fix, Template Tokens, and Signing Validation
  5. Defensive Fixes for SQLite, Hashers and Headers
  6. ASGI Middleware Fix and Async Cleanup
  7. Model Edge Cases and Driver Docs
  8. File Move Race Fix and Sitemap Docs