Django Weekly Change Report: June 15–21, 2026
- Commits summarized
- 27
- Period
- Jun 15 - Jun 21, 2026
- Published
- Jun 22, 2026
📬 Django Weekly Change Report
Week of June 15–21, 2026 — 24 commits landed in the django/django repository, covering bug fixes, documentation improvements, async optimizations, and security hardening.
🐛 Bug Fixes
- Fixed #31317 — Avoided a crash in
CreateModelwhenunique_togetherandAlterUniqueTogetherare both used (cd385e6) - Fixed #37152 —
EmailMessagenow raisesValueErrorwhenBccappears inextra_headers, preventing Bcc addresses from leaking into the message body (0943448) - Fixed #37157 — Documented usage of
sphinx-autobuildfor auto-reloading documentation (9676439) - Fixed #37169 — Replaced a text-based selector in a Selenium test that was failing under Arabic translations (d0378e1)
- Fixed #37168 — Admin now displays database defaults as empty values rather than incorrectly showing them as set (77d0c9d)
- Fixed #37176 — Made
Actionimportable fromdjango.contrib.admin(14988f1) - Fixed #37143 — Added missing
chunk_size=Nonecheck toQuerySet.aiterator()(ca5746b) - Fixed #37164 — JSON Lines deserializer now supports subclasses'
_get_lines()method (189c2d2)
⚡ Performance & Async
- Fixed #37163 — Optimized
@user_passes_testto avoid unnecessary async overhead (f891010) - Refs #36532 — Optimized CSP decorator async checking (~1µs faster per application) (b5b53af)
- Fixed #37165 — Updated the Async Support topics documentation, removing outdated warnings and revising performance guidance (2c5e4af)
🔒 Security
- CVE-2026-35193 / Refs #36560 — Qualified
Cache-Controldirectives (e.g.private="Set-Cookie") are now correctly recognized, closing a shared-cache storage bypass. A newsplit_directive_names()helper ensures consistent matching across middleware (b461519)
📖 Documentation
- Fixed #37128 — Documented
setUpTestDataas a test speed-up technique (d80ef32) - Fixed #36881 — Corrected documentation for
ModelAdmin.search_fields(13107fa) - Fixed #37146 — Improved the Trac link in
READMEto give newcomers a better first experience (aa0efc9) - Fixed password hashing anchor link for references (63ff114)
- Fixed typo in "Configuring email" section (d1f3c2b)
- Refs #37142 — Removed documentation for removed
django.utils.warnings.django_file_prefixes()(b3af340) - Refs #373 — Updated FAQ page to note partial composite primary key support (e877e21)
🧹 Housekeeping & Deprecation Notes
- Removed
selenium<4.44.0version pin (125e337) - Refs CVE-2026-6873 — Moved deprecation note for
SIGNED_COOKIE_LEGACY_SALT_FALLBACK(cf88938) - Refs #36593 — Added missing deprecation note for
select_related()with no arguments (e452715) - Refs #36905 — Added missing deprecation note for
safeparameter ofJSONResponse(c37cc70) - Refs #34118 — Removed further asgiref coroutine detection shims in tests (5c71977)
- Refs #37139 — Renamed helper inside
_is_pk_set()(f3e66a3)
🧪 Testing & CI
- Added test for updating a model instance with
db_default(0739450) - Added CI workflow to expand geospatial library version coverage (f2f5228)
Generated from commits between June 15–21, 2026