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 FIXES PREFETCH_RELATED ASYNC TRAP AND ADMIN DEFAULT DISPLAY BUG

By RepoJournal · Filed · About Django

Django patched a critical async iteration bug that silently multiplies database queries when prefetch_related is used without an explicit chunk_size parameter.

The async iterator bug [1] is the kind of silent performance killer that survives code review: QuerySet.aiterator() was missing the same validation that the synchronous iterator() received months ago, so developers using prefetch_related could accidentally trigger a query explosion without any warning. This lands alongside a fix [2] to the admin interface, where database default values now correctly display as empty rather than showing raw defaults, improving the user experience for anyone managing records with computed fields. The django/djangoproject.com team also shipped FontAwesome icon replacements [3] for the dark mode toggle, removing inline SVG sprites from the base template for cleaner rendering. On the dependency front, the site bumped codecov-action to 6.0.1 [4] which patches a template injection vulnerability (VULN-1652), requests to 2.34.2 [5], and sentry-sdk to 2.60.0 [6] for improved gen_ai span handling.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fixed #37143 -- Added missing chunk_size=None check to QuerySet.aiterator(). ↗ django/django
  2. [2] Fixed #37168 -- Made admin display database defaults as empty values. ↗ django/django
  3. [3] Changed dark mode theme switcher to FontAwesome icons. (#2652) django/djangoproject.com
  4. [4] Bump codecov/codecov-action from 6 to 6.0.1 ↗ django/djangoproject.com
  5. [5] Bump requests from 2.33.1 to 2.34.2 in /requirements ↗ django/djangoproject.com
  6. [6] Bump sentry-sdk from 2.59.0 to 2.60.0 in /requirements ↗ django/djangoproject.com

Quick answers

What shipped in Django on June 19, 2026?
Django patched a critical async iteration bug that silently multiplies database queries when prefetch_related is used without an explicit chunk_size parameter. In total, 7 commits and 10 pull requests landed.
Who contributed to Django on June 19, 2026?
3 developers shipped this update, including ZhengKangYang, felixxm, and dependabot[bot].
What were the notable Django updates?
Fixed #37143 -- Added missing chunk_size=None check to QuerySet.aiterator(), Fixed #37168 -- Made admin display database defaults as empty values, and Changed dark mode theme switcher to FontAwesome icons. (#2652).

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.