Django: Trimming the Edges — Old Databases and Old Queries

Django is dropping support for PostgreSQL 15 and PostGIS 3.2, while a separate fix tightens query generation for reverse relation checks. Together they show the project narrowing its supported surface and cleaning up query logic left over from earlier optimizations.

Duration: PT2M14S

Episode overview

This episode is a short developer briefing from Django.

It explains recent repository work in plain language.

  • Show: Django
  • Published: 2026-09-13T13:03:14Z
  • Audio duration: PT2M14S

Transcript excerpt

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

It's September 13th, 2026, and this is Django.

The core story today is subtraction — Django is cutting support for older tooling and cutting unnecessary complexity from generated SQL.

First, PR 21971 from felixxm formally drops support for PostgreSQL 15 and PostGIS 3.2. This is a maintenance milestone, not a feature. It touches migrations, feature checks, and operations code across the board, since version-gated logic for those releases can now be removed. For developers, the practical impact is…

Second, PR 21970 from AryanHamedani addresses a subtler problem: query construction. The issue, tracked back to ticket 34597 and referencing earlier work in ticket 16906, is that filtering with a negated relation check — something like excluding blog posts with no translation — was still generating an outer join it…

Put together, these two changes reflect ordinary but necessary hygiene — retiring old platform support on one side, and refining query internals on the other. Neither is flashy, but both reduce long-term maintenance burden.

What's next: watch for PR 21970 to pick up a formal approval, and if you're on Postgres 15 or PostGIS 3.2, start planning that upgrade path now.

Nearby episodes from Django

  1. Cookie Security Fix and a Flood of Duplicate PRs
  2. Cookie Prefix Safety Check
  3. When Duplicate Fixes Flood the Queue
  4. Fixing Old Bugs and Cleaning Up Assumptions
  5. Test Reliability and Geospatial Cleanup
  6. Quiet Fixes for Old, Sneaky Bugs
  7. Weekly Recap - Calendar Versioning Arrives, Query Layer Cleanup Continues
  8. Spam in the Docs, Substance in the Backend