     from django.contrib.staticfiles import views
  
     if settings.DEBUG:
         urlpatterns += [
             url(r'^static/(?P<path>.*)$', views.serve),
         ]
  
  Note, the beginning of the pattern (``r'^static/'``) should be your
  :setting:`STATIC_URL` setting.
  
 
</s> remove         url(r'^publishers/$', PublisherList.as_view()),
 </s> add         path('publishers/', PublisherList.as_view()), </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 from django.conf.urls import url
 </s> add  </s> remove     from django.conf.urls import url
 </s> add     from django.urls import path
           re_path(r'^static/(?P<path>.*)$', views.serve),
     from django.contrib.staticfiles import views
  
     if settings.DEBUG:
         urlpatterns += [
           re_path(r'^static/(?P<path>.*)$', views.serve),
         ]
  
  Note, the beginning of the pattern (``r'^static/'``) should be your
  :setting:`STATIC_URL` setting.
  
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/ref/contrib/staticfiles.txt