Django: Weekly Recap - Async Safety and Speed Plus ORM Reliability

Django merged 6 changes and reviewed 38 pull request items, centered on safer async cleanup and faster ASGI middleware. The broader pattern was stability work, with many open proposals tightening ORM edge cases and documentation.

Duration: PT3M

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-09-28T09:21:19Z
  • Audio duration: PT3M

Transcript excerpt

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

Hello and welcome to the Django weekly recap for September 21st through the 28th, 2026.

This week saw 38 pull request activity items, 6 additional commits this week. Overall, the week leaned toward stability work rather than new features.

The lead story is async: Django landed two complementary fixes that make async requests both safer and faster.

First, async safety. PR 22025 wraps async iteration sites in automatic cleanup, so database iterators, streaming responses, pagination and test client streams close deterministically instead of relying on the event loop finalizer. For developers, that means fewer warnings, fewer leaked cursors, and more predictable…

Second, async speed. PR 21523 reduces per-middleware context switching under ASGI. Previously, the shared middleware compatibility layer forced a thread transition at each middleware. Now Django's own middleware avoids that hop, preserving a single transition for the chain. If you rely on async middleware, you…

The second theme is database and query edge cases. Several proposals tighten behavior developers hit in production. PRs 22040 and 22041 rework how null values in 'in' lookups are built, aiming for consistent handling when…

Nearby episodes from Django

  1. Unnamed URL Translation Fix and Query Cleanup
  2. Null Query Fix, Template Tokens, and Signing Validation
  3. Defensive Fixes for SQLite, Hashers and Headers
  4. ASGI Middleware Fix and Async Cleanup
  5. Model Edge Cases and Driver Docs
  6. File Move Race Fix and Sitemap Docs
  7. GIS Cleanup and Stricter Model Checks
  8. Weekly Recap - Schema Fixes, ORM Edge Cases, and Platform Cleanup