Closed kunalgrover05 closed 6 years ago
Simply adding this template to any existing custom filters would work.
eg:
class CustomFilter(SimpleListFilter): title = 'custom' parameter_name = 'custom' template = 'django_admin_listfilter_dropdown/dropdown_filter.html' def lookups(self, request, model_admin): # Lookups to be used def queryset(self, request, queryset): # QS filtering
Great, can you send a pull request (to the docs presumably)?
Done https://github.com/mrts/django-admin-list-filter-dropdown/pull/13
Thanks for your help 👍 :)!
Simply adding this template to any existing custom filters would work.
eg: