Django admin provides very basic view for applying filters on List pages but we have several uses cases where we want multi select, multi search, range filtering. These cases include applying filtering on related fields and reverse related fields as well
We explored several packages
- https://github.com/modlinltd/django-advanced-filters
- https://github.com/silentsokolov/django-admin-rangefilter
- https://github.com/lukasvinclav/django-admin-numeric-filter
but none seems to fit our use cases well without fiddling with base model admin.
Are there alternatives to these ? If creating own custom filters how are you handling such uses cases ? - any ideas / tips / suggestion to start with ?
I did get some idea for search here - https://medium.com/@hakibenita/how-to-add-a-text-filter-to-django-admin-5d1db93772d8
- for multiple options to search, planning to use comma separated values and then split that in backend
- confused on how to implement for multi select choices