  import inspect
  import re
  
  
  class ModelResource(Resource, ModelFormValidatorMixin):
      """A specialized type of Resource, for resources that map directly to a Django Model.
      Useful things this provides:
  
      0. Default input validation based on ModelForms.
      1. Nice serialization of returned Models and QuerySets.
 
</s> remove from djangorestframework.validators import ModelFormValidatorMixin
from djangorestframework import status
 </s> add from djangorestframework import status, validators </s> remove     
 </s> add     # List of validators to validate, cleanup and type-ify the request content    
    validators = (validators.FormValidator,)
 </s> remove from djangorestframework.validators import ValidatorMixin, FormValidatorMixin, ModelFormValidatorMixin
 </s> add from djangorestframework.validators import BaseValidator, FormValidator, ModelFormValidator </s> remove class ValidatorMixin(object):
    """Base class for all ValidatorMixin classes, which simply defines the interface they provide."""
 </s> add class BaseValidator(object):
    """Base class for all Validator classes, which simply defines the interface they provide."""

    def __init__(self, view):
        self.view = view
class ModelResource(Resource):
  import inspect
  import re
  
  
class ModelResource(Resource):
      """A specialized type of Resource, for resources that map directly to a Django Model.
      Useful things this provides:
  
      0. Default input validation based on ModelForms.
      1. Nice serialization of returned Models and QuerySets.
keep keep keep keep replace keep keep keep keep keep
 Lots of validator tests passing after refactor 
djangorestframework/modelresource.py