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 SHIPS PUBLIC WARNINGS API, PATCHES TEST FLAKINESS

By RepoJournal · Filed · About Django

Django moved its internal warning utility into a public API, letting developers emit custom warnings while cleanly skipping Django's stack frames.

The framework extracted django_file_prefixes() from django.utils.deprecation into a new django.utils.warnings module [1], making it officially available for third-party code that needs to emit RuntimeWarning or UserWarning without cluttering Django's internals. This is a meaningful quality-of-life improvement for library authors who've been reaching into private APIs to do exactly this. In parallel, Django fixed a long-standing flaky test in its signals suite [2] where weak reference cleanup timing caused intermittent receiver count assertion failures, making the test suite more reliable going forward. The core library also corrected two smaller issues: CountsDict now properly accepts keyword arguments [3], and Media.__add__ now returns NotImplemented for non-Media operands [4], improving operator behavior consistency. Documentation updates to djangoproject.com point users directly to the feature release roadmap [5] [6] instead of routing through deprecated wiki links.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fixed #37142 -- Moved django_file_prefixes() to django.utils.warnings. ↗ django/django
  2. [2] Fixed #29187 -- Fixed flaky receiver count assertion in signals tests. ↗ django/django
  3. [3] Fixed #37102 -- Used **kwargs instead of *kwargs in CountsDict.__init__(). django/django
  4. [4] Fixed #36104 -- Returned NotImplemented in Media.__add__ for non-Media RHS. django/django
  5. [5] Updated link to release roadmap. ↗ django/djangoproject.com
  6. [6] Updated link to feature release roadmap in Download page. django/djangoproject.com

Quick answers

What shipped in Django on June 11, 2026?
Django moved its internal warning utility into a public API, letting developers emit custom warnings while cleanly skipping Django's stack frames. In total, 7 commits and 6 pull requests landed.
Who contributed to Django on June 11, 2026?
2 developers shipped this update, including ZhengKangYang and jacobtylerwalls.
What were the notable Django updates?
Fixed #37142 -- Moved django_file_prefixes() to django.utils.warnings, Fixed #29187 -- Fixed flaky receiver count assertion in signals tests, and Fixed #37102 -- Used **kwargs instead of *kwargs in CountsDict.__init__().

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.