d4fd6b6a56be6a2425660f03f9edc3d6b7746736
[redakcja.git] / src / catalogue / urls.py
1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.urls import path
5 from . import views
6
7
8 urlpatterns = [
9     path("", views.CatalogueView.as_view(), name="catalogue"),
10     path("author/<slug:slug>/", views.AuthorView.as_view(), name="catalogue_author"),
11     path("book/<slug:slug>/", views.BookView.as_view(), name="catalogue_book"),
12
13     path('terms/epoch/', views.EpochTerms.as_view()),
14     path('terms/kind/', views.KindTerms.as_view()),
15     path('terms/genre/', views.GenreTerms.as_view()),
16     path('terms/wluri/', views.WLURITerms.as_view()),
17     path('terms/book_title/', views.BookTitleTerms.as_view()),
18     path('terms/author/', views.AuthorTerms.as_view()),
19
20     path('terms/editor/', views.EditorTerms.as_view()),
21
22     path('wikidata/<slug:model>/<qid>', views.WikidataView.as_view()),
23 ]