Hi
I am using django_filter with a model that has manytomany field.
i cant get it to filter with multiple choice values.
Thanks in advance
class Filter(django_filters.FilterSet):
class Meta:
model = Konsult
fields = {'status', 'kompetens'}
kompetens = django_filters.ModelMultipleChoiceFilter(
queryset=Kompetens.objects.all(),
widget=forms.CheckboxSelectMultiple,
)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/08fe4be2-57aa-461b-90b0-20f2d3c014d3n%40googlegroups.com.