          with override_method(view, request, method) as request:
              # If we're not using content overloading there's no point in
              # supplying a generic form, as the view won't treat the form's
              # value as the content of the request.
              if not (api_settings.FORM_CONTENT_OVERRIDE
                      and api_settings.FORM_CONTENTTYPE_OVERRIDE):
                  return None
  
              # Check permissions
              if not self.show_form_for_method(view, method, request, instance):
                  return
 
</s> remove             not USE_FORM_OVERLOADING
            or self._request.method != 'POST'
            or not is_form_media_type(self._content_type)
 </s> add             self._request.method != 'POST' or
            not USE_FORM_OVERLOADING or
            not is_form_media_type(self._content_type) </s> remove                 not getattr(view, 'get_serializer', None)
                or not any(is_form_media_type(parser.media_type) for parser in view.parser_classes)
 </s> add                 not getattr(view, 'get_serializer', None) or
                not any(is_form_media_type(parser.media_type) for parser in view.parser_classes) </s> remove                     middle.endswith(closing)
                    and middle.count(closing) == middle.count(opening) + 1
 </s> add                     middle.endswith(closing) and
                    middle.count(closing) == middle.count(opening) + 1 </s> remove                 if field.get_value(self.initial_data) is not empty
                and not field.read_only
 </s> add                 if (field.get_value(self.initial_data) is not empty) and
                not field.read_only </s> remove         '.' in field.source and (key in validated_data)
        and isinstance(validated_data[key], (list, dict))
 </s> add         '.' in field.source and
        (key in validated_data) and
        isinstance(validated_data[key], (list, dict))
            if not (api_settings.FORM_CONTENT_OVERRIDE and
                    api_settings.FORM_CONTENTTYPE_OVERRIDE):
          with override_method(view, request, method) as request:
              # If we're not using content overloading there's no point in
              # supplying a generic form, as the view won't treat the form's
              # value as the content of the request.
            if not (api_settings.FORM_CONTENT_OVERRIDE and
                    api_settings.FORM_CONTENTTYPE_OVERRIDE):
            if not (api_settings.FORM_CONTENT_OVERRIDE and
                    api_settings.FORM_CONTENTTYPE_OVERRIDE):
                  return None
  
              # Check permissions
              if not self.show_form_for_method(view, method, request, instance):
                  return
keep keep keep keep replace replace keep keep keep keep keep
 Fixes for latest pep8 updates. Refs #2563. 
rest_framework/renderers.py