          )
  
          # We only need to use form overloading on form POST requests.
          if (
              not USE_FORM_OVERLOADING
              or self._request.method != 'POST'
              or not is_form_media_type(self._content_type)
          ):
              return
  
          # At this point we're committed to parsing the request as form data.
          self._data = self._request.POST
 
</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             if not (api_settings.FORM_CONTENT_OVERRIDE
                    and api_settings.FORM_CONTENTTYPE_OVERRIDE):
 </s> add             if not (api_settings.FORM_CONTENT_OVERRIDE and
                    api_settings.FORM_CONTENTTYPE_OVERRIDE): </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                 (getattr(relation.field.rel, 'through', None) is not None)
                and not relation.field.rel.through._meta.auto_created
 </s> add                 (getattr(relation.field.rel, 'through', None) is not None) and
                not relation.field.rel.through._meta.auto_created </s> remove         isinstance(field, BaseSerializer) and (key in validated_data)
        and isinstance(validated_data[key], (list, dict))
 </s> add         isinstance(field, BaseSerializer) and
        (key in validated_data) and
        isinstance(validated_data[key], (list, dict))
            self._request.method != 'POST' or
            not USE_FORM_OVERLOADING or
            not is_form_media_type(self._content_type)
          )
  
          # We only need to use form overloading on form POST requests.
          if (
            self._request.method != 'POST' or
            not USE_FORM_OVERLOADING or
            not is_form_media_type(self._content_type)
            self._request.method != 'POST' or
            not USE_FORM_OVERLOADING or
            not is_form_media_type(self._content_type)
            self._request.method != 'POST' or
            not USE_FORM_OVERLOADING or
            not is_form_media_type(self._content_type)
          ):
              return
  
          # At this point we're committed to parsing the request as form data.
          self._data = self._request.POST
keep keep keep keep replace replace replace keep keep keep keep keep
 Fixes for latest pep8 updates. Refs #2563. 
rest_framework/request.py