carltongibson / django-filter

A generic system for filtering Django QuerySets based on user selections

Home Page:https://django-filter.readthedocs.io/en/main/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is fieldset support planned?

ivanscm opened this issue · comments

I want to group filters on the form by groups or categories.

You need to provide significantly more detail if you want an actual response. (I have no idea what you're requesting, or whether it's already possible.)

For example (need filter fields group)

68747470733a2f2f6769746875622e636f6d2f68616470726f32342f646a616e676f2d666f726d732d6669656c647365742f626c6f622f6d61696e2f726573756c745f746573742e706e673f7261773d74727565

This is something you'd do at the template layer really, or just next to that (see the wontfix Django ticket-6630 ) — django-crispy-forms have dynamic layouts for just this purpose https://django-crispy-forms.readthedocs.io/en/latest/layouts.html

// cc @smithdc1 just FYI. :)

To be clear: you provide a layout for the form used by your FilterSet.