- url(r'^$', AlbumListView.as_view()),
- url(r'^(?P<slug>[^/]*)/$', PhotoListView.as_view()),
- url(r'^(?P<slug>[^/]*)/(?P<id>[0-9]+)/$', PhotoView.as_view()),
+ re_path(r'^$', AlbumListView.as_view()),
+ re_path(r'^(?P<slug>[^/]*)/$', PhotoListView.as_view()),
+ re_path(r'^(?P<slug>[^/]*)/(?P<id>[0-9]+)/$', PhotoView.as_view()),