X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/360d9d37f72b1c6e2edb83c3a0218e55578134f3..6251ad833bb249f4cbc52e1676c9d6a2b7d95fff:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index 2b4301bf..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()), @@ -18,4 +19,9 @@ urlpatterns = [ path('terms/author/', views.AuthorTerms.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/collection//', views.publish_collection, name='catalogue_publish_collection'), ]