$ the-wire · showcase
Django drops PostgreSQL 15 and PostGIS 3.2, patches an admin date_hierarchy 500
By RepoJournal · Filed · About Django · Composed from the cited sources · methodology
Two changes landed in django/django today that will show up in your own deployments: a supported-database floor that rises when you upgrade, and a one-line fix for an unhandled 500 in the admin.
Fixed #37114 -- Dropped support for PostgreSQL 15 and PostGIS 3.2. django/django
Mariusz Felisiak's change removes PostgreSQL 15 and PostGIS 3.2 from the supported matrix. Once you're on the release carrying this, the older database and GIS backend are no longer covered, so check your own CI before upgrading.
Fixed #37357 -- Handled out-of-range year in admin date_hierarchy. django/django
ChangeList.get_filters() caught ValueError only around the datetime() construction, leaving the to_date computation outside the try, so a query like ?date__year=9999 (year + 1 == 10000) or a value too large for a C long escaped as an unhandled exception and an HTTP 500 instead of the intended IncorrectLookupParameters redirect. Both exceptions are now caught and to_date moves inside the try.
Fixed #37357 -- Handled out-of-range year in admin date_hierarchy. django/django
Philip Sørensen reports the out-of-range year query parameter escaping as an unhandled exception rather than the ?e=1 redirect the changelist view is supposed to produce. The bug only fires when an admin user can put an arbitrary year into a date_hierarchy URL, which makes it a robustness fix rather than a security one.
Refs #36947 -- Added supports_comments skip to test_alter_generated_field_base_field_comment. django/django
Tim Graham adds a supports_comments skip to test_alter_generated_field_base_field_comment, keeping that generated-field test from running on backends that don't support comments.
Results for ubuntu-latest added [skip ci] django/django-asv
by Github Bot
Elsewhere, the benchmark bot added ubuntu-latest results to django/django-asv, quiet infrastructure work with no reader-facing change.