RepoJournal
Django

@django

Python's batteries-included web framework

Keep up with Django in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python Full archive →

The Wire · Showcase

DJANGO PATCHES CACHE CULLING BOTTLENECK, FIXES TEST ISOLATION BUGS ACROSS SUITE

By RepoJournal · Filed · About Django

Django shipped a performance optimization that cuts unnecessary cache culling operations, while a wave of test isolation fixes prevents database leaks that have been causing intermittent failures in production test runs.

The headline story is the DBCache culling optimization [1], which adds a configurable option to skip culling on every query and instead batch it more intelligently. This addresses a real performance drag for teams running heavy cache workloads. In parallel, the Django test suite got serious hardening with two critical isolation fixes [2] [3] that resolve a recurring pattern: cached Site instances were triggering unexpected database writes to 'other' databases during test setup, silently breaking test isolation assumptions. These weren't random failures, they were architectural problems in how test fixtures interact with cache state. The fixes force explicit database declarations in affected test classes, preventing the kind of creeping test flakiness that tanks CI confidence. No breaking changes here, but the test isolation work is worth reading if you maintain custom test suites that inherit from Django's base test classes.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fixed #32785 -- Optimize cull frequency for DBCache. ↗ django/django
  2. [2] Refs #16281 -- Fixed isolation of admin_views.ViewOnSiteTests. django/django
  3. [3] Refs #16281 -- Fixed isolation of admin_views.ViewOnSiteTests. ↗ django/django

Quick answers

What shipped in Django on June 8, 2026?
Django shipped a performance optimization that cuts unnecessary cache culling operations, while a wave of test isolation fixes prevents database leaks that have been causing intermittent failures in production test runs. In total, 4 commits and 2 pull requests landed.
Who contributed to Django on June 8, 2026?
2 developers shipped this update, including eevelweezel and jacobtylerwalls.
What were the notable Django updates?
Fixed #32785 -- Optimize cull frequency for DBCache, Refs #16281 -- Fixed isolation of admin_views.ViewOnSiteTests, and Refs #16281 -- Fixed isolation of admin_views.ViewOnSiteTests.

More from @django

Daily updates, in your inbox

Follow Django

Keep up with Django in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?