  
  class FormResource(Resource):
      """Validator class that uses forms for validation.
      Also provides a get_bound_form() method which may be used by some renderers.
      
      The view class should provide `.form` attribute which specifies the form classmethod
      to be used for validation.
      
      On calling validate() this validator may set a `.bound_form_instance` attribute on the
      view, which may be used by some renderers."""
  
  
      def validate(self, data, files):
          """
          Given some content as input return some cleaned, validated content.
 
</s> remove     """Validator class that uses forms for validation.
 </s> add     """
    Resource class that uses forms for validation. </s> remove     def validate(self, data, files):
 </s> add     def validate_request(self, data, files): </s> remove         return form_cls()
 </s> add         return self.form() </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.
  
  class FormResource(Resource):
      """Validator class that uses forms for validation.
      Also provides a get_bound_form() method which may be used by some renderers.






  
  
      def validate(self, data, files):
          """
          Given some content as input return some cleaned, validated content.
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Sorting out resources.  Doing some crazy magic automatic url resolving stuff.  Yum. 
djangorestframework/resources.py