from .models import *
from rest_framework import serializers


class MasterWorkableSerializer(serializers.ModelSerializer):
    class Meta:
        model = MasterWorkable

from .models import *
from rest_framework import serializers


class MasterWorkableSerializer(serializers.ModelSerializer):
    class Meta:
        model = MasterWorkable
        fields = '__all__'

Add explicit fields in serializer
Add explicit fields in serializer

  from .models import *
  from rest_framework import serializers
  
  
  class MasterWorkableSerializer(serializers.ModelSerializer):
      class Meta:
          model = MasterWorkable
+         fields = '__all__'
  
Add explicit fields in serializer
## Code Before:
from .models import *
from rest_framework import serializers


class MasterWorkableSerializer(serializers.ModelSerializer):
    class Meta:
        model = MasterWorkable

## Instruction:
Add explicit fields in serializer
## Code After:
from .models import *
from rest_framework import serializers


class MasterWorkableSerializer(serializers.ModelSerializer):
    class Meta:
        model = MasterWorkable
        fields = '__all__'
