X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d69fc5f16ed739c02685e7d695abf6de59c2bf5e..bf3f18ce9313f4929ff327fbf12803157de171cb:/apps/catalogue/urls.py?ds=sidebyside diff --git a/apps/catalogue/urls.py b/apps/catalogue/urls.py index 05f876607..b7c59a055 100644 --- a/apps/catalogue/urls.py +++ b/apps/catalogue/urls.py @@ -18,6 +18,7 @@ urlpatterns = patterns('picture.views', url(r'^obraz/(?P%s).html$' % SLUG, 'picture_viewer', name='picture_viewer'), url(r'^obraz/(?P%s)/$' % SLUG, 'picture_detail'), + url(r'^p/(?P\d+)/mini\.(?P.+)\.html', 'picture_mini', name='picture_mini'), url(r'^p/(?P\d+)/short\.(?P.+)\.html', 'picture_short', name='picture_short'), url(r'^pa/(?P\d+)/short\.(?P.+)\.html', 'picturearea_short', name='picture_area_short'), ) @@ -25,7 +26,7 @@ urlpatterns = patterns('picture.views', urlpatterns += patterns('', # old search page - redirected url(r'^szukaj/$', RedirectView.as_view( - url='/szukaj/', query_string=True)), + url='/szukaj/', query_string=True, permanent=True)), ) urlpatterns += patterns('catalogue.views',