pypi / django-filter
django-filter
What changed in django-filter 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
5 breaking2 new APIs and options4 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdjango-filter 214 changes
Breaking changes 4
Support for Django versions before 1.11 was dropped.
Lookup types handling was reworked into LookupChoiceFilter.
The Meta.together option was removed.
Support for Python 2 was dropped.
New APIs and options 2
BooleanWidget.render() accepts a renderer argument.
A queryset filter method was added as part of the validation rework.
Behavior and default changes 4
DateRangeFilter was reworked.
LookupTypeWidget was updated to use suffixes.
NullBooleanField uses the DRF BooleanFilter.
RangeWidget was updated to use suffixes.
Fixes and other changes 4
Fixed the empty value check for CSV range filters.
Django 2.0 support was added.
Fixed the distinct call for range filters.
Fixed filter lookups for reverse relationships.
django-filter 11 changes
Breaking changes 1
All code deprecated in releases 0.14 and 0.15 has been removed; developers must migrate before upgrading.