[Answered ]-Hide Fields with Django and GenericViews

1👍

You can specify the status_process in readonly_fields [drf-doc], so:

class TopicSerializer(serializers.ModelSerializer):
    class Meta:
        model = Topics
        fields = '__all__'
        readonly_fields = ['status_process']

Leave a comment