Filtering and detail/list urls #9606
Unanswered
sevdog
asked this question in
Ideas & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In viewsets it is possible to define a set of
filter_backends
which are used by default in every requests. However thare are some kind of filters (ie:OrderingFilter
,SearchFilter
, and also the third partyDjangoFilterBackend
) which shold not be invoked when acting on a detail URL.It could be nice to have a parameter to handle when a field should be applied?
It does not have sense to allow search/ordering filters when acting on a detail route.
Beta Was this translation helpful? Give feedback.
All reactions