  
  See schemas.__init__.py for package overview.
  """
  from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  from rest_framework.mixins import RetrieveModelMixin
  
  
  def is_list_view(path, method, view):
 
</s> remove from django.utils.encoding import is_protected_type, smart_text
 </s> add from django.utils.encoding import is_protected_type, smart_str </s> remove from django.utils.encoding import smart_text, uri_to_iri
 </s> add from django.utils.encoding import smart_str, uri_to_iri </s> remove from django.utils.encoding import smart_text
 </s> add from django.utils.encoding import smart_str </s> remove from django.utils.encoding import smart_text
 </s> add from django.utils.encoding import smart_str </s> remove             self.fail('does_not_exist', slug_name=self.slug_field, value=smart_text(data))
 </s> add             self.fail('does_not_exist', slug_name=self.slug_field, value=smart_str(data))
from django.utils.translation import gettext_lazy as _
  
  See schemas.__init__.py for package overview.
  """
  from django.db import models
from django.utils.translation import gettext_lazy as _
  
  from rest_framework.mixins import RetrieveModelMixin
  
  
  def is_list_view(path, method, view):
keep keep keep keep replace keep keep keep keep keep
 Fix Django 3.0 deprecations (#7074) 
rest_framework/schemas/utils.py