X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..d048787bd42b9d009aa7b3dfb5c08f7682f231e6:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 8b37e0774..63134f5b3 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -18,7 +18,7 @@ urlpatterns = [ # pictures - currently pictures are coupled with catalogue, hence the url is here url(r'^obraz/$', picture.views.picture_list_thumb, name='picture_list_thumb'), url(r'^obraz/(?P%s).html$' % SLUG, picture.views.picture_viewer, name='picture_viewer'), - url(r'^obraz/(?P%s)/$' % SLUG, picture.views.picture_detail), + url(r'^obraz/(?P%s)/$' % SLUG, picture.views.picture_detail, name='picture_detail'), url(r'^p/(?P\d+)/mini\.(?P.+)\.html', picture.views.picture_mini, name='picture_mini'), url(r'^p/(?P\d+)/short\.(?P.+)\.html', picture.views.picture_short, name='picture_short'), @@ -57,7 +57,7 @@ urlpatterns = [ url(r'^audiobooki/(?Pmp3|ogg|daisy|all).xml$', AudiobookFeed(), name='audiobook_feed'), - url(r'^pobierz/(?P%s).(?P[a-z0-9]*)$' % SLUG, views.embargo_link, name='embargo_link'), + url(r'^pobierz/(?P.*)/(?P%s).(?P[a-z0-9]*)$' % SLUG, views.embargo_link, name='embargo_link'), # zip url(r'^zip/pdf\.zip$', views.download_zip, {'format': 'pdf', 'slug': None}, 'download_zip_pdf'),