How to change the Django admin filter to use a dropdown instead of list?

后端 未结 9 854
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 03:58

If, for a field that you want to filter by, you have more than ~10 values, the filtering sidebar starts to be ugly and harder to use.

I\'m looking for a solution to

9条回答
  •  攒了一身酷
    2020-12-13 04:34

    An easy option would be to use django-grappelli, which replaces all the filters with drop downs.

提交回复
热议问题