  
          if model_field:
              if model_field.null or model_field.blank:
                  kwargs['required'] = False
              if model_field.verbose_name:
                  kwargs['label'] = model_field.verbose_name
              if not model_field.editable:
                  kwargs['read_only'] = True
                  kwargs.pop('queryset', None)
              help_text = clean_manytomany_helptext(model_field.help_text)
              if help_text:
 
</s> remove             if model_field.verbose_name:
                kwargs['label'] = model_field.verbose_name
 </s> add             if model_field.verbose_name and needs_label(model_field, field_name):
                kwargs['label'] = capfirst(model_field.verbose_name) </s> remove         if model_field.verbose_name is not None:
            kwargs['label'] = model_field.verbose_name
 </s> add         if model_field.verbose_name and needs_label(model_field, field_name):
            kwargs['label'] = capfirst(model_field.verbose_name) </s> remove     def get_field(self, model_field):
 </s> add     def get_field(self, field_name, model_field): </s> remove         serializer_pk_field = self.get_pk_field(info.pk)
 </s> add         field_name = info.pk.name
        serializer_pk_field = self.get_pk_field(field_name, info.pk) </s> remove             ret[info.pk.name] = serializer_pk_field
 </s> add             ret[field_name] = serializer_pk_field
            if model_field.verbose_name and needs_label(model_field, field_name):
                kwargs['label'] = capfirst(model_field.verbose_name)
  
          if model_field:
              if model_field.null or model_field.blank:
                  kwargs['required'] = False
            if model_field.verbose_name and needs_label(model_field, field_name):
                kwargs['label'] = capfirst(model_field.verbose_name)
            if model_field.verbose_name and needs_label(model_field, field_name):
                kwargs['label'] = capfirst(model_field.verbose_name)
              if not model_field.editable:
                  kwargs['read_only'] = True
                  kwargs.pop('queryset', None)
              help_text = clean_manytomany_helptext(model_field.help_text)
              if help_text:
keep keep keep keep replace replace keep keep keep keep keep
 Drop label from serializer fields when not needed 
rest_framework/serializers.py