              self._content = self.validate_request(self.DATA, self.FILES)
          return self._content
  
      def validate_request(self, data, files):
          """
          Given the request *data* return the cleaned, validated content.
          Typically raises an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 
</s> remove         resource = self.resource(self)
        return resource.validate_request(data, files)
 </s> add         return self._resource.validate_request(data, files) </s> remove     
 </s> add     form = None

    def __init__(self, view):
        """
        Allow a :attr:`form` attributes set on the :class:`View` to override
        the :attr:`form` attribute set on the :class:`Resource`.
        """
        super(FormResource, self).__init__(view)

        if getattr(view, 'form', None):
            self.form = view.form </s> remove     resource = Resource
 </s> add     resource = None </s> remove         resource = self.resource(self)
        return resource.filter_response(obj)
 </s> add         return self._resource.filter_response(obj)
    @property
    def _resource(self):
        if self.resource:
            return self.resource(self)
        elif hasattr(self, 'model'):
            return ModelResource(self)
        elif hasattr(self, 'form'):
            return FormResource(self)
        return Resource(self)

              self._content = self.validate_request(self.DATA, self.FILES)
          return self._content
  
    @property
    def _resource(self):
        if self.resource:
            return self.resource(self)
        elif hasattr(self, 'model'):
            return ModelResource(self)
        elif hasattr(self, 'form'):
            return FormResource(self)
        return Resource(self)

      def validate_request(self, data, files):
          """
          Given the request *data* return the cleaned, validated content.
          Typically raises an :class:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
keep keep add keep keep keep keep
 forms/models can be set on the view as well as the resource 
djangorestframework/mixins.py