Skip to content

Commit

Permalink
make queryset let specific
Browse files Browse the repository at this point in the history
  • Loading branch information
oudeismetis committed Sep 12, 2024
1 parent 69aabe8 commit c7d7b0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def post(self, request, *args, **kwargs):


class UserViewSet(viewsets.GenericViewSet, mixins.RetrieveModelMixin):
queryset = User.objects.all()
queryset = User.objects
serializer_class = UserSerializer

# No auth required to create user
Expand Down

0 comments on commit c7d7b0b

Please sign in to comment.