Django: Template Parsing and Query Routing Fixes

Two merged fixes restore template tag parsing without spaces and lazy database routing for generic relations. Three open proposals would tighten file-session security, lookup efficiency, and password reset links.

Duration: PT2M25S

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-10-26T13:06:06Z
  • Audio duration: PT2M25S

Transcript excerpt

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

Good morning, it's Monday, October 26th, 2026, and this is your Django briefing.

The throughline today is quiet correctness: two merged fixes restore behavior developers already rely on, while three open proposals would tighten security and efficiency.

First, parsing and database routing. PR 22189 fixes template comment and verbatim blocks written without spaces, like open comment followed directly by end comment. A recent change had required whitespace after the opening braces, so those closing tags no longer closed the block and templates failed or crashed. The…

Second, hardening still under review. PR 22197 would document that the file-based session directory must be locked down, because session keys appear in file names and anyone who can list the directory could hijack logins, a particular risk when using the system temp directory. PR 22195 proposes limiting…

Finally, small maintenance. An open docs change, PR 22198, excludes console tab styling from ebook builds where it breaks, and a merged CI fix, PR 22196, corrects Python version labels for Postgres 17 jobs in GeoDjango testing.

What's next: if you rely on tight template syntax or multi-database generic relations, pull the…

Nearby episodes from Django

  1. Docs Theme Tests and Tooling Reliability
  2. Silent Data Fixes and Validation Tightening
  3. Multiline Templates and Epub Validation
  4. Query Method Support and ORM Correctness Fixes
  5. Weekly Recap - Python 3.15 Alignment and CSP Hardening
  6. Background Email Delivery and Contributor Docs
  7. Cached Property Deprecation and Docs Accessibility
  8. Python 3.15 Adjustments and Fail-Closed Security