X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ea9d7d13a44a6ad6357b1af8c977c27753268521..6f12caf7d625f0bfffd2b138897fd8c711a6b2f5:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 840d2bfae..7049b1c85 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.GalleryView.as_view(), name='gallery'), + path('galeria/', views.gallery, name='gallery'), path('kolekcje/', views.collections, name='catalogue_collections'), - path('lektury/', views.LiteratureView.as_view(), name='book_list'), + path('lektury/', views.literature, name='book_list'), path('lektury//', views.collection, name='collection'), - path('audiobooki/', views.AudiobooksView.as_view(), name='audiobook_list'), + path('audiobooki/', views.audiobooks, 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( @@ -76,7 +76,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'), ]