  from django.core.exceptions import ImproperlyConfigured
  from django.test import TestCase, override_settings
  from django.utils import six
  
  import rest_framework.utils.model_meta
  from rest_framework.compat import _resolve_model
  from rest_framework.routers import SimpleRouter
  from rest_framework.serializers import ModelSerializer
  from rest_framework.utils import json
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
  from rest_framework.utils.urls import remove_query_param, replace_query_param
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
 </s> add  </s> remove from django.apps import apps
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
from django.db import models
 </s> add  </s> remove import inspect

 </s> add 
  from django.core.exceptions import ImproperlyConfigured
  from django.test import TestCase, override_settings
  from django.utils import six
  


  from rest_framework.routers import SimpleRouter
  from rest_framework.serializers import ModelSerializer
  from rest_framework.utils import json
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
  from rest_framework.utils.urls import remove_query_param, replace_query_param
keep keep keep keep replace replace keep keep keep keep keep
 Remove unused compat._resolve_model() (#5733)

Last use removed in c674687782ef96a3bb8466b412e99debd3d04f00. 
tests/test_utils.py