diff --git a/ivy/products/views.py b/ivy/products/views.py index 9e5c774..d10bf64 100644 --- a/ivy/products/views.py +++ b/ivy/products/views.py @@ -13,6 +13,7 @@ class ProductViewSet(viewsets.ModelViewSet): class UserListViewSet(viewsets.ModelViewSet): # permission_classes = [IsAuthenticated] + http_method_names = ['get'] serializer_class = UserSerializer queryset = User.objects.all()