X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/58554ad41d789d21c7477c01fd8c27ff1f590445..c6537f136f4ec0230f5e7c71dd1abf9616151a47:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 7f1eddbae..3cb17502b 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -55,11 +55,11 @@ urlpatterns = [ path('pobierz//.', views.embargo_link, name='embargo_link'), # zip - path('zip/pdf.zip', views.download_zip, {'format': 'pdf', 'slug': None}, 'download_zip_pdf'), - path('zip/epub.zip', views.download_zip, {'format': 'epub', 'slug': None}, 'download_zip_epub'), - path('zip/mobi.zip', views.download_zip, {'format': 'mobi', 'slug': None}, 'download_zip_mobi'), - path('zip/mp3/.zip', views.download_zip, {'format': 'mp3'}, 'download_zip_mp3'), - path('zip/ogg/.zip', views.download_zip, {'format': 'ogg'}, 'download_zip_ogg'), + path('zip/pdf.zip', views.download_zip, {'file_format': 'pdf', 'slug': None}, 'download_zip_pdf'), + path('zip/epub.zip', views.download_zip, {'file_format': 'epub', 'slug': None}, 'download_zip_epub'), + path('zip/mobi.zip', views.download_zip, {'file_format': 'mobi', 'slug': None}, 'download_zip_mobi'), + path('zip/mp3/.zip', views.download_zip, {'media_format': 'mp3'}, 'download_zip_mp3'), + path('zip/ogg/.zip', views.download_zip, {'media_format': 'ogg'}, 'download_zip_ogg'), # Public interface. Do not change this URLs. path('lektura/.html', views.book_text, name='book_text'),