          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
          content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'} 
          self.assertRaises(ResponseException, self.validator.validate, content)
      
      def test_validate_requires_fields_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
 
</s> remove         self.assertRaises(ResponseException, self.validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, self.validator.validate, content) </s> remove         self.assertRaises(ResponseException, validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, validator.validate, content) </s> remove         self.assertRaises(ResponseException, validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, validator.validate, content) </s> remove         On failure the ResponseException content is a dict which may contain 'errors' and 'field-errors' keys.
 </s> add         On failure the ErrorResponse content is a dict which may contain 'errors' and 'field-errors' keys. </s> remove         except ResponseException, exc:           
 </s> add         except ErrorResponse, exc:           
        self.assertRaises(ErrorResponse, self.validator.validate, content)
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
          content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'} 
        self.assertRaises(ErrorResponse, self.validator.validate, content)
      
      def test_validate_requires_fields_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/tests/validators.py