          })
  
  
  urlpatterns = [
      url(r'^$', SchemaView.as_view()),
      url(r'^example/$', ListView.as_view()),
      url(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
      url(r'^upload/$', UploadView.as_view()),
      url(r'^download/$', DownloadView.as_view()),
      url(r'^text/$', TextView.as_view()),
      url(r'^headers/$', HeadersView.as_view()),
  ]
  
  
  @unittest.skipUnless(coreapi, 'coreapi not installed')
  @override_settings(ROOT_URLCONF='tests.test_api_client')
 
</s> remove     url(r'^$', schema_view),
    url(r'^', include(router.urls))
 </s> add     path('', schema_view),
    path('', include(router.urls)) </s> remove     url(r'^$', MockView.as_view()),
    url(r'^echo/$', EchoView.as_view()),
    url(r'^upload/$', FileUploadView.as_view())
 </s> add     path('', MockView.as_view()),
    path('echo/', EchoView.as_view()),
    path('upload/', FileUploadView.as_view()) </s> remove         url(r'^$', view),
 </s> add         path('', view), </s> remove             url(r'^example/?$', ExampleView.as_view()),
 </s> add             path('example/', ExampleView.as_view()), </s> remove     url(r'^$', MockView.as_view()),
 </s> add     path('', MockView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
          })
  
  
  urlpatterns = [
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
    path('', SchemaView.as_view()),
    path('example/', ListView.as_view()),
    re_path(r'^example/(?P<id>[0-9]+)/$', DetailView.as_view()),
    path('upload/', UploadView.as_view()),
    path('download/', DownloadView.as_view()),
    path('text/', TextView.as_view()),
    path('headers/', HeadersView.as_view()),
  ]
  
  
  @unittest.skipUnless(coreapi, 'coreapi not installed')
  @override_settings(ROOT_URLCONF='tests.test_api_client')
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Replace all url() calls with path() or re_path() (#7512)

* url() is deprecated in Django 3.1

* update given feedbacks on url() is deprecated in Django 3.1

* Fix test_urlpatterns.py to continue testing mixed re_path() and path()

* Fix one missed reference

Co-authored-by: sanjusci <sanju.sci9@gmail.com> 
tests/test_api_client.py