      renderer_classes=[OpenAPIRenderer, SwaggerUIRenderer]
  )
  
  urlpatterns = [
      url(r'^swagger/$', schema_view),
      ...
  ]
  ```
  
  There have been a large number of fixes to the schema generation. These should
 
</s> remove     url('^schema.json$', schema_view),
 </s> add     path('schema.json', schema_view), </s> remove         url(r'^docs/', include_docs_urls(title=API_TITLE, description=API_DESCRIPTION))
 </s> add         path('docs/', include_docs_urls(title=API_TITLE, description=API_DESCRIPTION)) </s> remove             url(r'^v1/example/?$', views.ExampleListView.as_view()),
            url(r'^v1/example/{pk}/?$', views.ExampleDetailView.as_view()),
 </s> add             path('v1/example/', views.ExampleListView.as_view()),
            path('v1/example/{pk}/', views.ExampleDetailView.as_view()), </s> remove         url('^$', schema_view),
        url(r'^', include(router.urls)),
 </s> add         path('', schema_view),
        path('', include(router.urls)), </s> remove             url(r'^example/?$', views.ExampleListView.as_view()),
 </s> add             path('example/', views.ExampleListView.as_view()),
    path('swagger/', schema_view),
      renderer_classes=[OpenAPIRenderer, SwaggerUIRenderer]
  )
  
  urlpatterns = [
    path('swagger/', schema_view),
      ...
  ]
  ```
  
  There have been a large number of fixes to the schema generation. These should
keep keep keep keep 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> 
docs/community/3.5-announcement.md