class ForumUserSerializer(ModelSerializer):
    class Meta:
        model = ForumUser
        fields = "__all__"

above is serializer class.

class ViewAllUsers(ListAPIView):
    queryset = ForumUser.objects.all()
    serializer_class = ForumUserSerializer
    permission_classes = [AllowAny]

above is views class. Hot to change teh django views class to display only a set of columns Do not include the following keywords: forumuserserializer(modelserializer, view, meta, _
user