                  data = request.DATA
                  files = request.FILES
              except ParseError:
                  data = None
                  files = None
          else:
              data = None
              files = None
  
          with override_method(view, request, method) as request:
 
</s> remove             files = None
 </s> add             # files = None </s> remove                 files = request.FILES
 </s> add                 # files = request.FILES </s> remove         super(CharField, self).__init__(*args, **kwargs)
 </s> add         self.max_length = kwargs.pop('max_length', None)
        self.min_length = kwargs.pop('min_length', None)
        super(CharField, self).__init__(**kwargs) </s> remove     #_hyperlink_field_class = HyperlinkedRelatedField
    #_hyperlink_identify_field_class = HyperlinkedIdentityField
 </s> add     # _hyperlink_field_class = HyperlinkedRelatedField
    # _hyperlink_identify_field_class = HyperlinkedIdentityField </s> remove     field1 = serializers.CharField(3, required=True)
    field2 = serializers.CharField(10, required=False)
 </s> add     field1 = serializers.CharField(max_length=3, required=True)
    field2 = serializers.CharField(max_length=10, required=False)
                # files = None
                  data = request.DATA
                  files = request.FILES
              except ParseError:
                  data = None
                # files = None
          else:
              data = None
              files = None
  
          with override_method(view, request, method) as request:
keep keep keep keep replace keep keep keep keep keep
 Add relations and get tests running 
rest_framework/renderers.py