  
  from rest_framework import (
      filters, generics, pagination, permissions, serializers
  )
  from rest_framework.compat import coreapi, coreschema, get_regex_pattern
  from rest_framework.decorators import action, api_view, schema
  from rest_framework.request import Request
  from rest_framework.routers import DefaultRouter, SimpleRouter
  from rest_framework.schemas import (
      AutoSchema, ManualSchema, SchemaGenerator, get_schema_view
 
</s> remove from rest_framework.compat import get_regex_pattern
 </s> add  </s> remove from rest_framework.compat import (
    URLResolver, get_regex_pattern, is_route_pattern
)
 </s> add  </s> remove from django.urls import path, register_converter
 </s> add from django.urls import URLResolver, path, register_converter
from django.urls.resolvers import RoutePattern </s> remove from rest_framework.compat import URLPattern, URLResolver, get_original_route
 </s> add 
from rest_framework.compat import coreapi, coreschema
  
  from rest_framework import (
      filters, generics, pagination, permissions, serializers
  )
from rest_framework.compat import coreapi, coreschema
  from rest_framework.decorators import action, api_view, schema
  from rest_framework.request import Request
  from rest_framework.routers import DefaultRouter, SimpleRouter
  from rest_framework.schemas import (
      AutoSchema, ManualSchema, SchemaGenerator, get_schema_view
keep keep keep keep replace keep keep keep keep keep
 Drop all compat support to Django < 2 urls (#7337) 
tests/schemas/test_coreapi.py