class ServiceSerializer(DynamicFieldsMixin, serializers.ModelSerializer):
stretch = serializers.SerializerMethodField()
class Meta:
model = Service
fields = ['id', 'stretch', 'name']
def get_stretch(self, obj):
...
I can't skip the stretch field or select the others, it always shows me all the fields, is there any way to do it?