X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c4309c888873728d417c2964c40cb9d03a89d441..282654ea252af7e2d30740b40bccfc9be61dd3a8:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index b7625388..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()), @@ -22,4 +23,5 @@ urlpatterns = [ 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'), ]