          elif getattr(self, 'form', None):
              return FormResource(self)
          return Resource(self)
  
      def validate_request(self, data, files=None):
          """
          Given the request *data* and optional *files*, return the cleaned, validated content.
          May raise an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 
</s> remove     def validate_request(self, data, files):
 </s> add     def validate_request(self, data, files=None): </s> remove         Given the request *data* return the cleaned, validated content.
        Typically raises an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 </s> add         Given the request *data* and optional *files*, return the cleaned, validated content.
        May raise an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure. </s> remove     def validate_request(self, data, files):
 </s> add     def validate_request(self, data, files=None): </s> remove     def validate_request(self, data, files):
 </s> add     def validate_request(self, data, files=None):
        elif getattr(self, '%s_form' % self.method.lower(), None):
            return FormResource(self)
          elif getattr(self, 'form', None):
              return FormResource(self)
        elif getattr(self, '%s_form' % self.method.lower(), None):
            return FormResource(self)
          return Resource(self)
  
      def validate_request(self, data, files=None):
          """
          Given the request *data* and optional *files*, return the cleaned, validated content.
          May raise an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
keep add keep keep keep keep keep keep
 Allow .form specified on view.  Allow get_form, put_form, post_form.  Add .PARAMS. 
djangorestframework/mixins.py