temporary attributes for bible tags
[redakcja.git] / src / catalogue / urls.py
index ac9cede..6679b38 100644 (file)
@@ -11,6 +11,7 @@ urlpatterns = [
     path("book/<slug:slug>/", views.BookView.as_view(), name="catalogue_book"),
     path("book/<slug:slug>.json", views.BookAPIView.as_view(), name="catalogue_book_api"),
 
+    path('terms/audience/', views.AudienceTerms.as_view()),
     path('terms/epoch/', views.EpochTerms.as_view()),
     path('terms/kind/', views.KindTerms.as_view()),
     path('terms/genre/', views.GenreTerms.as_view()),
@@ -18,9 +19,13 @@ urlpatterns = [
     path('terms/book_title/', views.BookTitleTerms.as_view()),
     path('terms/author/', views.AuthorTerms.as_view()),
     path('terms/thema/', views.ThemaTerms.as_view()),
+    path('terms/thema-main/', views.MainThemaTerms.as_view()),
 
     path('terms/editor/', views.EditorTerms.as_view()),
 
+    path('chooser/thema/', views.ThemaChooser.as_view()),
+    path('chooser/thema-main/', views.MainThemaChooser.as_view()),
+
     path('wikidata/<slug:model>/<qid>', views.WikidataView.as_view()),
 
     path('publish/author/<int:pk>/', views.publish_author, name='catalogue_publish_author'),
@@ -29,6 +34,6 @@ urlpatterns = [
     path('publish/epoch/<int:pk>/', views.publish_epoch, name='catalogue_publish_epoch'),
     path('publish/collection/<int:pk>/', views.publish_collection, name='catalogue_publish_collection'),
 
-    path('woblink/author/autocomplete', views.woblink_author_autocomplete,
-         name='catalogue_woblink_author_autocomplete'),
+    path('woblink/<category>/autocomplete', views.woblink_autocomplete,
+         name='catalogue_woblink_autocomplete'),
 ]