Allow passing a filterset class to `filterset_factory`
b1rger opened this issue · 4 comments
b1rger commented
It would be nice if it was possible to override the filterset class that the filterset_factory
is basing the returned filterset on. A similar thing is done in the table_factory
in django-tables
carltongibson commented
Yes, maybe... 🤔
I had a similar need myself the other day. (I can't instantly remember what I did; I'll look when I'm back at it.)
One consideration is Meta
inheritance...
carltongibson commented
Hi @b1rger. So, I ended up defining the filter set class inline in my case, but I still think this might be a useful addition.
Is it something you'd like to work on?
b1rger commented
Is it something you'd like to work on?
Sure!
carltongibson commented
Fixed in #1644