Skip to content

MultipleChoiceFilter not working? #1603

Answered by carltongibson
sheckathorne asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sheckathorne — Not sure. I added a test in #1604 showing MultipleChoiceFilter working as expected.

For FilterSet instance f, I suggest looking at f.form.is_valid(), f.form.errors, list(f.form["group_classification"].choices), and f.qs.query. Hopefully something there will show up as not as you're expecting.

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by sheckathorne
Comment options

You must be logged in to vote
1 reply
@carltongibson
Comment options

Comment options

You must be logged in to vote
3 replies
@carltongibson
Comment options

@sheckathorne
Comment options

@sheckathorne
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sheckathorne
Comment options

@carltongibson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants