      from django.conf.urls import url
      from books.views import PublisherList
  
      urlpatterns = [
          url(r'^publishers/$', PublisherList.as_view()),
      ]
  
  That's all the Python code we need to write. We still need to write a template,
  however. We could explicitly tell the view which template to use by adding a
  ``template_name`` attribute to the view, but in the absence of an explicit
 
</s> remove from django.conf.urls import url
 </s> add  </s> remove         url(r'^articles/([0-9]{4})/$', views.year_archive, name='news-year-archive'),
 </s> add         path('articles/<int:year>/', views.year_archive, name='news-year-archive'), </s> remove            url(r'^static/(?P<path>.*)$', views.serve),
 </s> add            re_path(r'^static/(?P<path>.*)$', views.serve), </s> remove     from django.conf.urls import url
 </s> add     from django.urls import path </s> remove Until Django 1.3, the functions :func:`~django.conf.urls.include`,
``patterns()`` and :func:`~django.conf.urls.url` plus
:data:`~django.conf.urls.handler404`, :data:`~django.conf.urls.handler500`
 </s> add Until Django 1.3, the ``include()``, ``patterns()``, and ``url()`` functions,
plus :data:`~django.conf.urls.handler404` and :data:`~django.conf.urls.handler500`
        path('publishers/', PublisherList.as_view()),
      from django.conf.urls import url
      from books.views import PublisherList
  
      urlpatterns = [
        path('publishers/', PublisherList.as_view()),
      ]
  
  That's all the Python code we need to write. We still need to write a template,
  however. We could explicitly tell the view which template to use by adding a
  ``template_name`` attribute to the view, but in the absence of an explicit
keep keep keep keep replace keep keep keep keep keep
 Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.

Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. 
docs/topics/class-based-views/generic-display.txt