Django: Silent Data Fixes and Validation Tightening

Two fixes merged and five proposals opened, centered on preventing silent wrong results in queries, caching, and forms. The highest-impact item is a draft fix for inflated counts and sums when filtering after aggregation.

Duration: PT2M26S

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-10-29T13:04:19Z
  • Audio duration: PT2M26S

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 Thursday, October 29th, 2026, and this is your Django briefing.

Today's work centers on preventing quiet data errors, where Django returns the wrong answer instead of failing loudly.

First, query and state handling. A draft in PR 22207 tackles a long-standing aggregation issue, ticket 16603, where filtering on a multi-valued relation after an aggregation added a second join that duplicated rows and inflated counts and sums. The proposal switches those filters to an exists subquery instead. For…

Second, validation and interface clarity. PR 22210 would give the image field a default extension validator so bad extensions are caught during model validation, and clarify the validation docs. This closes a gap where invalid uploads slipped through until later. PR 22208 would hide the delete heading and checkbox…

Finally, test reliability. PR 22212 fixes a parallel runner crash on failed subtests with attributes that cannot be pickled, caused by storing the live subtest in the events list. If you run parallel tests with custom subtest setup, this will save you from opaque crashes.

What's next is review. The aggregation fix remains a draft seeking feedback on approach,…

Nearby episodes from Django

  1. Weekly Recap - Docs Platform Reset and Request Hardening
  2. Server Time Logging Fix
  3. 2028 Prep and Silent-Failure Fixes
  4. Docs Theme Tests and Tooling Reliability
  5. Multiline Templates and Epub Validation
  6. Query Method Support and ORM Correctness Fixes
  7. Template Parsing and Query Routing Fixes
  8. Weekly Recap - Python 3.15 Alignment and CSP Hardening