X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/18aa8ca52202003e5628a882f3469a04d905cc05..ce097db0af8c96297501b569ec49477b76c1ceec:/src/catalogue/urls.py?ds=inline diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index d02f4a41e..91c66a2fe 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -7,17 +7,10 @@ from django.views.generic import ListView, RedirectView from catalogue.feeds import AudiobookFeed from catalogue.models import Book from catalogue import views -import picture.views import search.views urlpatterns = [ - path('obraz/strona/', picture.views.picture_page, name='picture_page'), - # pictures - currently pictures are coupled with catalogue, hence the url is here - path('obraz/', picture.views.picture_list_thumb, name='picture_list_thumb'), - path('obraz/.html', picture.views.picture_viewer, name='picture_viewer'), - path('obraz//', picture.views.picture_detail, name='picture_detail'), - # old search page - redirected path('szukaj/', RedirectView.as_view( url='/szukaj/', query_string=True, permanent=True)), @@ -30,7 +23,6 @@ urlpatterns = [ path('rodzaj/', views.tag_catalogue, {'category': 'kind'}, name='kind_catalogue'), path('motyw/', views.tag_catalogue, {'category': 'theme'}, name='theme_catalogue'), - path('galeria/', views.GalleryView.as_view(), name='gallery'), path('kolekcje/', views.collections, name='catalogue_collections'), path('lektury/', views.LiteratureView.as_view(), name='book_list'), @@ -71,8 +63,6 @@ urlpatterns = [ path('isbn///', views.get_isbn), # This should be the last pattern. - re_path(r'^galeria/(?P[a-zA-Z0-9-/]*)/$', views.tagged_object_list, {'list_type': 'gallery'}, - name='tagged_object_list_gallery'), re_path(r'^audiobooki/(?P[a-zA-Z0-9-/]*)/$', views.tagged_object_list, {'list_type': 'audiobooks'}, name='tagged_object_list_audiobooks'), re_path(r'^(?P[a-zA-Z0-9-/]*)/$', views.tagged_object_list, {'list_type': 'books'},