X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0251adf97488c11e936a714976261febfb8c5268..4b200d823f0ec79279da035a46d0d888693ca2fe:/src/catalogue/urls.py diff --git a/src/catalogue/urls.py b/src/catalogue/urls.py index d4fd6b6a..4eaf7b07 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,6 @@ urlpatterns = [ path('terms/editor/', views.EditorTerms.as_view()), path('wikidata//', views.WikidataView.as_view()), + + path('publish/author//', views.publish_author, name='catalogue_publish_author'), ]