      empty_label = None
      default_read_only = True  # TODO: Remove this
  
      def __init__(self, *args, **kwargs):
          self.queryset = kwargs.pop('queryset', None)
          self.null = kwargs.pop('null', False)
 
</s> remove             value = data[field_name]
 </s> add             if self.many:
                try:
                    # Form data
                    value = data.getlist(field_name)
                    if value == ['']:
                        value = []
                except AttributeError:
                    # Non-form data
                    value = data[field_name]
            else:
                value = data[field_name]
    many = False
      empty_label = None
      default_read_only = True  # TODO: Remove this
    many = False
  
      def __init__(self, *args, **kwargs):
          self.queryset = kwargs.pop('queryset', None)
          self.null = kwargs.pop('null', False)
keep add keep keep keep keep
 Starting migration from ManyField to Field(many=True) 
rest_framework/relations.py