          If form validation is turned off (form class attribute is None) then returns None."""
          if not self.form:
              return None
  
          if not content is None:
              if hasattr(content, 'FILES'):
                  return self.form(content, content.FILES)
              return self.form(content)
          return self.form()
  
 
</s> remove         if not self.form:
 </s> add         form_cls = getattr(self.view, 'form', None)

        if not form_cls: </s> remove                 return self.form(content, content.FILES)
            return self.form(content)
        return self.form()
 </s> add                 return form_cls(content, content.FILES)
            return form_cls(content)
        return form_cls() </s> remove         if isinstance(resource, FormValidatorMixin):
            # If we already have a bound form instance (IE provided by the input parser, then use that)
            if resource.bound_form_instance is not None:
                form_instance = resource.bound_form_instance
                
 </s> add         if not form_instance and hasattr(resource, 'get_bound_form'): </s> remove         if self.form:
 </s> add         form_cls = getattr(self.view, 'form', None)
        model_cls = getattr(self.view, 'model', None)

        if form_cls: </s> remove             if not form_instance and resource.response.has_content_body:
 </s> add             if resource.response.has_content_body:
        if content is not None:
          If form validation is turned off (form class attribute is None) then returns None."""
          if not self.form:
              return None
  
        if content is not None:
              if hasattr(content, 'FILES'):
                  return self.form(content, content.FILES)
              return self.form(content)
          return self.form()
  
keep keep keep keep replace keep keep keep keep keep
 Lots of validator tests passing after refactor 
djangorestframework/validators.py