- url(r'^image/$', views.image_list, name='cover_image_list'),
- url(r'^image/(?P<pk>\d+)/?$', views.image, name='cover_image'),
- url(r'^image/(?P<pk>\d+)/file/', views.image_file, name='cover_file'),
- url(r'^add_image/$', views.add_image, name='cover_add_image'),
+ path('image/', views.image_list, name='cover_image_list'),
+ path('image/<int:pk>/', views.image, name='cover_image'),
+ path('image/<int:pk>/file/', views.image_file, name='cover_file'),
+ path('add_image/', views.add_image, name='cover_add_image'),