You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with django-filters that is preventing the __in filter for m2m fields for the easiest method of registering filters in an DRF GenericView Class. I will rework the function for creating and registering the filters so we can use the __in filter throughout the API, but for the moment only the workaround mentioned above is working.
we will keep the support for ?topic=84&topic=126. However, for consistency we will additionally add the __in operator also for m2m fields (currently only working for fk) at a later stage.
closing for now
filter on array fields should accept
__in
operator as a query param, e.g.?id__in=1,2,3
or?topic__in=1,2,3,4
The text was updated successfully, but these errors were encountered: