  
          # Set the serializer object if it exists
          obj = getattr(self.parent.object, field_name) if self.parent.object else None
  
          if value in (None, ''):
              into[(self.source or field_name)] = None
          else:
              kwargs = {
                  'instance': obj,
                  'data': value,
                  'context': self.context,
 
</s> remove             kwargs = {
                'instance': obj,
                'data': value,
                'context': self.context,
                'partial': self.partial,
                'many': self.many
            }
            serializer = self.__class__(**kwargs)

            if serializer.is_valid():
                into[self.source or field_name] = serializer.object
 </s> add             if value in (None, ''):
                into[(self.source or field_name)] = None </s> remove                 # Propagate errors up to our parent
                raise NestedValidationError(serializer.errors)
 </s> add                 kwargs = {
                    'instance': obj,
                    'data': value,
                    'context': self.context,
                    'partial': self.partial,
                    'many': self.many
                }
                serializer = self.__class__(**kwargs)

                if serializer.is_valid():
                    into[self.source or field_name] = serializer.object
                else:
                    # Propagate errors up to our parent
                    raise NestedValidationError(serializer.errors)
        if self.source == '*':
            if value:
                into.update(value)
  
          # Set the serializer object if it exists
          obj = getattr(self.parent.object, field_name) if self.parent.object else None
  
        if self.source == '*':
            if value:
                into.update(value)
        if self.source == '*':
            if value:
                into.update(value)
          else:
              kwargs = {
                  'instance': obj,
                  'data': value,
                  'context': self.context,
keep keep keep keep replace replace keep keep keep keep keep
 when source='*' on a nested serializer, expand fields into outer serializer when writing. fixes #765 
rest_framework/serializers.py