  from __future__ import unicode_literals
  
  import itertools
  from collections import namedtuple
  from django.conf.urls import patterns, url
  from django.core.exceptions import ImproperlyConfigured
  from django.core.urlresolvers import NoReverseMatch
  from rest_framework import views
  from rest_framework.compat import get_resolver_match, OrderedDict
  from rest_framework.response import Response
 
</s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import patterns, url, include
 </s> add from django.conf.urls import url, include </s> remove from django.conf.urls import patterns, url, include
 </s> add from django.conf.urls import url, include </s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url
from django.conf.urls import url
  from __future__ import unicode_literals
  
  import itertools
  from collections import namedtuple
from django.conf.urls import url
  from django.core.exceptions import ImproperlyConfigured
  from django.core.urlresolvers import NoReverseMatch
  from rest_framework import views
  from rest_framework.compat import get_resolver_match, OrderedDict
  from rest_framework.response import Response
keep keep keep keep replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
rest_framework/routers.py