from django.conf.urls import url

from djrichtextfield.views import InitView

urlpatterns = [
    url('^init.js$', InitView.as_view(), name='djrichtextfield_init')
]

from django.urls import path

from djrichtextfield.views import InitView

urlpatterns = [
    path('init.js', InitView.as_view(), name='djrichtextfield_init')
]

Use path instead of soon to be deprecated url
Use path instead of soon to be deprecated url
