  from django.db import models
  from django.utils.text import capfirst
  from rest_framework.compat import clean_manytomany_helptext
  from rest_framework.validators import UniqueValidator
  import inspect
  
  
  NUMERIC_FIELD_TYPES = (
      models.IntegerField, models.FloatField, models.DecimalField
  )
 
</s> remove from django.core import validators
 </s> add import inspect
 </s> remove from rest_framework.utils.field_mapping import (
    get_url_kwargs, get_field_kwargs,
    get_relation_kwargs, get_nested_relation_kwargs,
    ClassLookupDict
 </s> add from rest_framework.compat import (
    postgres_fields, unicode_to_repr, DurationField as ModelDurationField, </s> remove from rest_framework.compat import (
    postgres_fields,
    unicode_to_repr,
    DurationField as ModelDurationField,
 </s> add from django.db.models.fields import (
    FieldDoesNotExist, Field as DjangoModelField
  from django.db import models
  from django.utils.text import capfirst
  from rest_framework.compat import clean_manytomany_helptext
  from rest_framework.validators import UniqueValidator

  
  
  NUMERIC_FIELD_TYPES = (
      models.IntegerField, models.FloatField, models.DecimalField
  )
keep keep keep keep replace keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/utils/field_mapping.py