X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ea9d7d13a44a6ad6357b1af8c977c27753268521..6407cf24cd6cf3f9ea6fdf4a8924dad109a590e6:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 840d2bfae..0a8df784d 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -63,7 +63,6 @@ urlpatterns = [ # Public interface. Do not change this URLs. path('lektura/.html', views.book_text, name='book_text'), - path('lektura//audiobook/', views.player, name='book_player'), path('lektura//', views.book_detail, name='book_detail'), path('lektura//motyw//', views.book_fragments, name='book_fragments'), @@ -76,7 +75,7 @@ urlpatterns = [ name='tagged_object_list_gallery'), re_path(r'^audiobooki/(?P[a-zA-Z0-9-/]*)/$', views.tagged_object_list, {'list_type': 'audiobooks'}, name='tagged_object_list_audiobooks'), - re_path(r'^(?P[a-zA-Z0-9-/]*)/$', views.TaggedObjectList.as_view(), + re_path(r'^(?P[a-zA-Z0-9-/]*)/$', views.tagged_object_list, {'list_type': 'books'}, name='tagged_object_list'), ]