- url(r'^diff/(?P<object_id>\d+)/$', views.diff, name="wiki_img_diff"),
- url(r'^pubmark/(?P<object_id>\d+)/$', views.pubmark, name="wiki_img_pubmark"),
+ path('diff/<int:object_id>/', views.diff, name="wiki_img_diff"),
+ path('pubmark/<int:object_id>/', views.pubmark, name="wiki_img_pubmark"),