  
          Must be overridden to be implemented."""
          return data
      
      def object_to_data(self, obj):
          return _object_to_data(obj)
  
  
  class Resource(BaseResource):
      """
      A Resource determines how a python object maps to some serializable data.
 
</s> remove 
        Must be overridden to be implemented."""
 </s> add         """ </s> remove     def validate(self, data, files):
        """Given some content as input return some cleaned, validated content.
 </s> add     def validate_request(self, data, files):
        """
        Given the request data return the cleaned, validated content. </s> remove     """Validator class that uses forms for validation.
 </s> add     """
    Resource class that uses forms for validation. </s> remove def _object_to_data(obj):
 </s> add def _object_to_data(obj, resource=None):
    def filter_response(self, obj):
        """
        Given the response content, filter it into a serializable object.
        """
        return _object_to_data(obj, self)
  
          Must be overridden to be implemented."""
          return data
      
    def filter_response(self, obj):
        """
        Given the response content, filter it into a serializable object.
        """
        return _object_to_data(obj, self)
    def filter_response(self, obj):
        """
        Given the response content, filter it into a serializable object.
        """
        return _object_to_data(obj, self)
  
  
  class Resource(BaseResource):
      """
      A Resource determines how a python object maps to some serializable data.
keep keep keep keep replace replace keep keep keep keep keep
 Sorting out resources.  Doing some crazy magic automatic url resolving stuff.  Yum. 
djangorestframework/resources.py