We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779cd9b commit 8c248d5Copy full SHA for 8c248d5
example/views.py
@@ -74,7 +74,7 @@ class AuthorViewSet(ModelViewSet):
74
75
76
class CommentViewSet(ModelViewSet):
77
- queryset = Comment.objects.select_related('author', 'entry')
+ queryset = Comment.objects.all()
78
serializer_class = CommentSerializer
79
prefetch_for_includes = {
80
'__all__': [],
0 commit comments