X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0251adf97488c11e936a714976261febfb8c5268..702fb2526face0e696facae2fe725495bfad1274:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index d4fd6b6a..065c4f92 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()), @@ -20,4 +21,7 @@ urlpatterns = [ 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/collection//', views.publish_collection, name='catalogue_publish_collection'), ]