              [self.delete_object(item) for item in self._deleted]
  
          return self.object
  
  
  class Serializer(six.with_metaclass(SerializerMetaclass, BaseSerializer)):
      pass
  
  
 
</s> remove def humanize_field_type(field_type):
    """Return a human-readable name for a field type.

    :param field_type: Either a field type class (for example
        django.forms.fields.DateTimeField), or the name of a field type
        (for example "DateTimeField").

    :return: unicode

    """
    if isinstance(field_type, basestring):
        field_type_name = field_type
    else:
        field_type_name = field_type.__name__
    try:
        return HUMANIZED_FIELD_TYPES[field_type_name]
    except KeyError:
        humanized = re.sub('([a-z0-9])([A-Z])', r'\1 \2', field_type_name)
        return humanized.capitalize()


def humanize_field(field):
    """Return a human-readable description of a field.

    :param field: A Django field.

    :return: A dictionary of the form {type: type name, required: bool,
             label: field label: read_only: bool,
             help_text: optional help text}

    """
    humanized = {
        'type': humanize_field_type(field.__class__),
        'required': getattr(field, 'required', False),
    }
    optional_attrs = ['read_only', 'help_text', 'label',
                      'min_length', 'max_length']
    for attr in optional_attrs:
        if getattr(field, attr, None) is not None:
            humanized[attr] = getattr(field, attr)
    return humanized


 </s> add  </s> remove                     actions[method] = humanize_form_fields(serializer)
 </s> add                     actions[method] = serializer.humanized </s> remove class Form(forms.Form):
    field1 = forms.CharField(max_length=3, label='field one')
    field2 = forms.CharField(label='field two')
 </s> add class HumanizableSerializer(Serializer):
    field1 = CharField(3, required=True)
    field2 = CharField(10, required=False) </s> remove             self.assertEqual(humanize_field(field)['label'], field.label)
 </s> add             self.assertEqual(field.humanized['label'], field.label)
    @property
    def humanized(self):
        humanized_fields = SortedDict(
            [(name, field.humanized)
             for name, field in self.fields.iteritems()])
        return humanized_fields

              [self.delete_object(item) for item in self._deleted]
  
          return self.object
  
    @property
    def humanized(self):
        humanized_fields = SortedDict(
            [(name, field.humanized)
             for name, field in self.fields.iteritems()])
        return humanized_fields

  
  class Serializer(six.with_metaclass(SerializerMetaclass, BaseSerializer)):
      pass
  
  
keep keep keep add keep keep keep keep keep
 simplified, moved field humanizing to Field. broken tests 
rest_framework/serializers.py