Commit 3d7933e
committed
[change] Migrate from django-admin-autocomplete-filter to dalf #582
Replace the unmaintained and license-incompatible django-admin-autocomplete-filter
with django-admin-list-filter (dalf), an actively maintained MIT-licensed alternative
that uses Django's native admin autocomplete infrastructure.
Changes:
- Updated dependencies in setup.py to use dalf>=0.7.0,<1.0.0
- Rewrote AutocompleteFilter to extend DALFRelatedFieldAjax
- Simplified AutocompleteJsonView to use Django's native implementation
- Added robust error handling for invalid filter parameters (e.g., invalid UUIDs)
- Updated admin classes to inherit from DALFModelAdmin
- Modified filter usage from custom classes to tuple format
- Updated documentation and templates
- Fixed reverse relation support in autocomplete view
Fixes #5821 parent 7fa53c7 commit 3d7933e
0 file changed
0 commit comments