old_contents: from django.conf.urls import url
  
  from djrichtextfield.views import InitView
  
  urlpatterns = [
      url('^init.js$', InitView.as_view(), name='djrichtextfield_init')
  ]
  
new_contents: from django.urls import path
  
  from djrichtextfield.views import InitView
  
  urlpatterns = [
      path('init.js', InitView.as_view(), name='djrichtextfield_init')
  ]
  
subject: Use path instead of soon to be deprecated url