X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0251adf97488c11e936a714976261febfb8c5268..4eb26400f533eba2c035a5e7e1776047a309ab54:/src/catalogue/urls.py?ds=sidebyside diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index d4fd6b6a..2bcba237 100644 --- a/src/catalogue/urls.py +++ b/src/catalogue/urls.py @@ -9,6 +9,7 @@ urlpatterns = [ path("", views.CatalogueView.as_view(), name="catalogue"), path("author//", views.AuthorView.as_view(), name="catalogue_author"), path("book//", views.BookView.as_view(), name="catalogue_book"), + path("book/.json", views.BookAPIView.as_view(), name="catalogue_book_api"), path('terms/epoch/', views.EpochTerms.as_view()), path('terms/kind/', views.KindTerms.as_view()), @@ -16,8 +17,15 @@ urlpatterns = [ path('terms/wluri/', views.WLURITerms.as_view()), path('terms/book_title/', views.BookTitleTerms.as_view()), path('terms/author/', views.AuthorTerms.as_view()), + path('terms/thema/', views.ThemaTerms.as_view()), path('terms/editor/', views.EditorTerms.as_view()), path('wikidata//', views.WikidataView.as_view()), + + path('publish/author//', views.publish_author, name='catalogue_publish_author'), + path('publish/genre//', views.publish_genre, name='catalogue_publish_genre'), + path('publish/kind//', views.publish_kind, name='catalogue_publish_kind'), + path('publish/epoch//', views.publish_epoch, name='catalogue_publish_epoch'), + path('publish/collection//', views.publish_collection, name='catalogue_publish_collection'), ]