          Wrapped by validate to hide the extra flags that are used in the implementation.
  
          allowed_extra_fields is a list of fields which are not defined by the form, but which we still
          expect to see on the input.
          """
          
          # We'd like nice error messages even if no content is supplied.
          # Typically if an empty dict is given to a form Django will
 
</s> remove         Wrapped by validate to hide the extra_fields option that the ModelValidatorMixin uses.
        extra_fields is a list of fields which are not defined by the form, but which we still
 </s> add         Wrapped by validate to hide the extra flags that are used in the implementation.

        allowed_extra_fields is a list of fields which are not defined by the form, but which we still </s> remove             return super(ModelFormValidator, self).get_bound_form(data, files)
 </s> add             return super(ModelResource, self).get_bound_form(data, files) </s> remove         self.assertEqual(self.validator.validate(content), content)
 </s> add         self.assertEqual(self.validator.validate_request(content, None), content) </s> remove         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'} 
        self.assertRaises(ErrorResponse, self.validator.validate, content)
 </s> add         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'}
        self.assertRaises(ErrorResponse, self.validator.validate_request, content, None) </s> remove         self.assertRaises(ErrorResponse, self.validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, self.validator.validate_request, content, None)
        
        fake_data is a string that should be used as an extra key, as a kludge to force .errors
        to be populated when an empty dict is supplied in `data`
          Wrapped by validate to hide the extra flags that are used in the implementation.
  
          allowed_extra_fields is a list of fields which are not defined by the form, but which we still
          expect to see on the input.
        
        fake_data is a string that should be used as an extra key, as a kludge to force .errors
        to be populated when an empty dict is supplied in `data`
          """
          
          # We'd like nice error messages even if no content is supplied.
          # Typically if an empty dict is given to a form Django will
keep keep keep add keep keep keep keep
 validators tests -> resources tests 
djangorestframework/resources.py