Django: Cleaning Up After Fetch Modes and Modernizing Test Infrastructure

A recent fetch modes feature broke backward compatibility with custom database loading code, prompting a same-day fix, while separately, Django's browser testing moved from Selenium to Playwright and several schema and documentation edge cases were tightened up.

Duration: PT2M36S

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-08-19T13:05:13Z
  • Audio duration: PT2M36S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good day, and welcome to Django, the developer briefing for August 19th, 2026.

Today's top story is a compatibility fix that closes a gap opened by Django's own fetch modes feature. Adam Johnson's PR 21749, backed by commit d992705, restores support for the old-signature override of Model dot from-db. When fetch modes shipped, every query path started calling that method with a new keyword…

The second theme is testing infrastructure and correctness. Varun Kasyap's PR 21596 is the big one: a broad migration from Selenium to Playwright for Django's integration tests, aimed at improving reliability and developer experience for core contributors. That's a foundational shift that will affect anyone writing…

Rounding out the day, two smaller but concrete fixes: PR 21801 from yassinbahri preserves unique constraints on MySQL when a field's database index is removed, preventing accidental loss of constraints during schema changes. And PR 21800 adds a documentation warning that upload_to paths on FileField are not…

What's next: watch for downstream effects as the Playwright migration settles into CI, and expect the from-db deprecation warning to surface in projects with custom model loading…

Th…

Nearby episodes from Django

  1. Cleaning Up Forms, Feeds, and Error Messages
  2. Migration Ordering and Template Filter Cleanup
  3. Housekeeping Ahead of the 6.1 Release
  4. Edge Case Cleanup Across the Stack
  5. Query Flexibility Meets Security Housekeeping
  6. Closing the Gaps on Input Validation and Edge Cases
  7. Weekly Recap - Regression Cleanup & Query Correctness
  8. Ordering Logic Gets Smarter About Aliases