          # }
  
          if model_field:
              kwargs['required'] = not(model_field.null or model_field.blank)
              # if model_field.help_text is not None:
              #     kwargs['help_text'] = model_field.help_text
              if model_field.verbose_name is not None:
                  kwargs['label'] = model_field.verbose_name
              if not model_field.editable:
                  kwargs['read_only'] = True
              if model_field.verbose_name is not None:
 
</s> remove     #_hyperlink_field_class = HyperlinkedRelatedField
    #_hyperlink_identify_field_class = HyperlinkedIdentityField
 </s> add     # _hyperlink_field_class = HyperlinkedRelatedField
    # _hyperlink_identify_field_class = HyperlinkedIdentityField </s> remove     def __init__(self, *args, **kwargs):
 </s> add     def __init__(self, **kwargs): </s> remove                  label=None, style=None):
 </s> add                  label=None, style=None, error_messages=None): </s> remove             files = None
 </s> add             # files = None </s> remove     def __init__(self, *args, **kwargs):
 </s> add     def __init__(self, **kwargs):
            #  if model_field.help_text is not None:
            #      kwargs['help_text'] = model_field.help_text
          # }
  
          if model_field:
              kwargs['required'] = not(model_field.null or model_field.blank)
            #  if model_field.help_text is not None:
            #      kwargs['help_text'] = model_field.help_text
            #  if model_field.help_text is not None:
            #      kwargs['help_text'] = model_field.help_text
              if model_field.verbose_name is not None:
                  kwargs['label'] = model_field.verbose_name
              if not model_field.editable:
                  kwargs['read_only'] = True
              if model_field.verbose_name is not None:
keep keep keep keep replace replace keep keep keep keep keep
 Add relations and get tests running 
rest_framework/serializers.py