  from __future__ import unicode_literals
  
  from django.conf.urls import include, url
  
  from rest_framework.compat import RegexURLResolver
  from rest_framework.settings import api_settings
  
  
  def apply_suffix_patterns(urlpatterns, suffix_pattern, suffix_required):
      ret = []
 
</s> remove from django.conf.urls import include, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import include, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import include, url
 </s> add from django.conf.urls import url
from rest_framework.compat import RegexURLResolver, include
  from __future__ import unicode_literals
  
  from django.conf.urls import include, url
  
from rest_framework.compat import RegexURLResolver, include
  from rest_framework.settings import api_settings
  
  
  def apply_suffix_patterns(urlpatterns, suffix_pattern, suffix_required):
      ret = []
keep keep keep keep replace keep keep keep keep keep
 Fixed Django 2.0 compatibility due to `django.conf.urls.include` parameters change. (#4866) 
rest_framework/urlpatterns.py