X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8952b9530d943655e552ea660c47e850123c5105..0c502550a4f04aa016df8729af2ae2f85c0b495a:/src/catalogue/api/urls.py?ds=sidebyside diff --git a/src/catalogue/api/urls.py b/src/catalogue/api/urls.py index 2e5a9beb4..4e0d937c1 100644 --- a/src/catalogue/api/urls.py +++ b/src/catalogue/api/urls.py @@ -21,16 +21,16 @@ urlpatterns = [ re_path(tags_re + r'books/' + paginate_re, piwik_track_view(views.BookList.as_view()), - name='catalogue_api_book_list'), + {"filename": "books"}, name='catalogue_api_book_list'), re_path(tags_re + r'parent_books/' + paginate_re, piwik_track_view(views.BookList.as_view()), - {"top_level": True}, name='catalogue_api_parent_book_list'), + {"filename": "parent_books", "top_level": True}, name='catalogue_api_parent_book_list'), re_path(tags_re + r'audiobooks/' + paginate_re, piwik_track_view(views.BookList.as_view()), - {"audiobooks": True}, name='catalogue_api_audiobook_list'), + {"filename": "audiobooks", "audiobooks": True}, name='catalogue_api_audiobook_list'), re_path(tags_re + r'daisy/' + paginate_re, piwik_track_view(views.BookList.as_view()), - {"daisy": True}, name='catalogue_api_daisy_list'), + {"filename": "daisy", "daisy": True}, name='catalogue_api_daisy_list'), re_path(r'^recommended/' + paginate_re, piwik_track_view(views.BookList.as_view()), {"recommended": True}, name='catalogue_api_recommended_list'),