  
  from .views import MockView
  
  
  urlpatterns = patterns(
      '',
      (r'^$', MockView.as_view()),
      url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
  )
 
</s> remove )
 </s> add ] </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove from django.conf.urls import patterns
 </s> add  </s> remove )
 </s> add ] </s> remove )
 </s> add ]
urlpatterns = [
  
  from .views import MockView
  
  
urlpatterns = [
urlpatterns = [
      (r'^$', MockView.as_view()),
      url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
  )
keep keep keep keep replace replace keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/browsable_api/auth_urls.py