We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose I have following URLs, models, and viewsets:
An ArticleAPIViewSet, which handles:
ArticleAPIViewSet
/articles
/articles/{slug}
And an CommentAPIViewSet, which handles:
CommentAPIViewSet
/articles/{slug}/comments
With NestedHyperlinkedModelSerializer written and NestedViewSetMixin attached in my viewset, queryset such as:
NestedHyperlinkedModelSerializer
NestedViewSetMixin
Comments.objects.all()
would be automatically filtered with article_slug.
article_slug
Is there any ways to automatically filter nested viewsets' queryset, or any plans to support those?
The text was updated successfully, but these errors were encountered:
is there any workaround?
Sorry, something went wrong.
No branches or pull requests
Suppose I have following URLs, models, and viewsets:
An
ArticleAPIViewSet
, which handles:/articles
/articles/{slug}
And an
CommentAPIViewSet
, which handles:/articles/{slug}/comments
With
NestedHyperlinkedModelSerializer
written andNestedViewSetMixin
attached in my viewset, queryset such as:would be automatically filtered with
article_slug
.Is there any ways to automatically filter nested viewsets' queryset, or any plans to support those?
The text was updated successfully, but these errors were encountered: