filterlabel tightly-coupled to verbose_name

Issue #4 new
created an issue

As far as I can tell, couples the filterlabel very tightly to the field's verbose_name.

This ought to be easy to override, but in fact I don't see a way to achieve it without creating a new Filter class and re-writing some chunks of it.

I'll have a go at providing this if you think it's worth doing.

Comments (1)

  1. Luke Plant repo owner

    Definitely worth doing, and should be fairly simple. I would just add a 'label' keyword argument to the Filter class, with logic that defaults to verbose_name, and this should be done inside Filter rather than in FilterSet.

    Obviously docs would be nice if you are interested in doing this!


  2. Log in to comment