          """
  
          if self.form:
              # Use explict Form
              return super(ModelFormValidator, self).get_bound_form(data, files)
  
          elif self.model:
              # Fall back to ModelForm which we create on the fly
              class OnTheFlyModelForm(forms.ModelForm):
                  class Meta:
 
</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     # Same tests on ModelFormValidtionMixin
 </s> add     # Same tests on ModelResource </s> remove         class MockResource(Resource):
 </s> add         class MockResource(ModelResource): </s> remove         """If the view's form attribute is None then FormValidator(view).validate(content)
 </s> add         """If the view's form attribute is None then FormValidator(view).validate_request(content, None)
            return super(ModelResource, self).get_bound_form(data, files)
          """
  
          if self.form:
              # Use explict Form
            return super(ModelResource, self).get_bound_form(data, files)
  
          elif self.model:
              # Fall back to ModelForm which we create on the fly
              class OnTheFlyModelForm(forms.ModelForm):
                  class Meta:
keep keep keep keep replace keep keep keep keep keep
 validators tests -> resources tests 
djangorestframework/resources.py