  from collections import namedtuple
  
  from django.utils import six
  from rest_framework.compat import OrderedDict
  
  
  FieldInfo = namedtuple('FieldResult', [
      'pk',  # Model field instance
 
</s> remove from django.core.exceptions import ImproperlyConfigured
from django.db import models
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
 </s> add  </s> remove from django.core.paginator import InvalidPage, Paginator as DjangoPaginator
from django.template import Context, loader
 </s> add  </s> remove from django.utils.six.moves.urllib import parse as urlparse
 </s> add from django.template import Context, loader
from django.db import models
from django.core.exceptions import ImproperlyConfigured

  from collections import namedtuple
  
  from django.utils import six
from django.db import models
from django.core.exceptions import ImproperlyConfigured

  from rest_framework.compat import OrderedDict
  
  
  FieldInfo = namedtuple('FieldResult', [
      'pk',  # Model field instance
keep keep add keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/utils/model_meta.py