X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b2c05eedf0c6b3d213ce0b760d641c345e3c9b3..a3b153ea6e30da275edf3e34b8d2f8ca1bb436cc:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 7049b1c85..0a8df784d 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -30,12 +30,12 @@ urlpatterns = [ path('rodzaj/', views.tag_catalogue, {'category': 'kind'}, name='kind_catalogue'), path('motyw/', views.tag_catalogue, {'category': 'theme'}, name='theme_catalogue'), - path('galeria/', views.gallery, name='gallery'), + path('galeria/', views.GalleryView.as_view(), name='gallery'), path('kolekcje/', views.collections, name='catalogue_collections'), - path('lektury/', views.literature, name='book_list'), + path('lektury/', views.LiteratureView.as_view(), name='book_list'), path('lektury//', views.collection, name='collection'), - path('audiobooki/', views.audiobooks, name='audiobook_list'), + path('audiobooki/', views.AudiobooksView.as_view(), name='audiobook_list'), path('daisy/', views.daisy_list, name='daisy_list'), path('jtags/', search.views.hint, {'param': 'q', 'mozhint': True}, name='jhint'), path('nowe/', ListView.as_view( @@ -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'),