Replies: 1 comment
-
Take a look at ModelMultipleChoiceFilter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have model Task, and it has fk to Family model.
class ShortInspectionTaskFilter(filters.FilterSet): city = filters.CharFilter(field_name="family__city") class Meta: model = Task fields = ("city",)
how could I pass multiple values of cities to these filter?
Beta Was this translation helpful? Give feedback.
All reactions