The Wire · Showcase
DJANGO STATICFILES FINDER RESTORED AFTER OVERZEALOUS REMOVAL
By RepoJournal · Filed · About Django
Django's staticfiles BaseFinder.find() method is back after being mistakenly deleted, and you need to know if it affects your current version.
Nick Pope restored django.contrib.staticfiles.finders.BaseFinder.find() [1], which was overzealously removed in a previous commit and will need backporting to the 6.1 stable branch [8]. This is the most consequential change across the stack in the last 24 hours. Separately, the Django documentation gained a practical example for custom validation in admin inlines [2], showing how to assign a custom ModelForm to InlineModelAdmin.form with both model and form declared. A separate fix landed for content_disposition_header() to properly quote filenames ending with newlines [3], addressing a specific edge case in file handling. Over on djangoproject.com, six dependency updates rolled in via Dependabot: actions/setup-python jumped to 7.0.0 with an ESM migration [4], actions/checkout got a patch to 7.0.1 [5], coverage upgraded to 7.15.2 with a memory use fix [6], and sentry-sdk advanced to 2.66.0 with new tracing options [7].
One email a day. Unsubscribe in one click.
Keep up with Django in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Check if you're using BaseFinder.find() directly - if so, verify your version includes the restoration django/django [plan]
- → Review the new admin inlines validation example in docs if you maintain custom form logic django/django [monitor]
- → Update djangoproject.com dependencies on next deploy - nothing breaks, all routine maintenance django/djangoproject.com [plan]
References
- [1] Refs #22712 -- Restored django.contrib.staticfiles.finders.BaseFinder.find(). django/django
- [2] Fixed #20023 -- Added custom validation example for admin inlines. django/django
- [3] Fixed #37198 -- Fixed content_disposition_header() quoting of filenames ending with newlines. django/django
- [4] Bump actions/setup-python from 6.3.0 to 7.0.0 ↗ django/djangoproject.com
- [5] Bump actions/checkout from 7.0.0 to 7.0.1 ↗ django/djangoproject.com
- [6] Bump coverage from 7.15.1 to 7.15.2 in /requirements ↗ django/djangoproject.com
- [7] Bump sentry-sdk from 2.64.0 to 2.66.0 in /requirements ↗ django/djangoproject.com
- [8] Refs #22712 -- Restored django.contrib.staticfiles.finders.BaseFinder.find(). ↗ django/django