- url(r'^lektura/(?P<slug>[a-z0-9-]+)/lubie/$', views.like_book, name='social_like_book'),
- url(r'^lektura/(?P<slug>[a-z0-9-]+)/nie_lubie/$', views.unlike_book, name='social_unlike_book'),
- url(r'^lektura/(?P<slug>[a-z0-9-]+)/polki/$', never_cache(views.ObjectSetsFormView()), name='social_book_sets'),
- url(r'^polka/$', views.my_shelf, name='social_my_shelf'),
+ path('lektura/<slug:slug>/lubie/', views.like_book, name='social_like_book'),
+ path('lektura/<slug:slug>/nie_lubie/', views.unlike_book, name='social_unlike_book'),
+ path('lektura/<slug:slug>/polki/', never_cache(views.ObjectSetsFormView()), name='social_book_sets'),
+ path('polka/', views.my_shelf, name='social_my_shelf'),