X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8952b9530d943655e552ea660c47e850123c5105..1959361810afbb5f1de88b7d717da32979c7235d:/src/catalogue/api/urls.py diff --git a/src/catalogue/api/urls.py b/src/catalogue/api/urls.py index 2e5a9beb4..c211c2204 100644 --- a/src/catalogue/api/urls.py +++ b/src/catalogue/api/urls.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.urls import path, re_path from stats.utils import piwik_track_view @@ -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'),