calibre-web-companion/CalibreWebCompanion/library/urls.py

28 lines
1.2 KiB
Python
Raw Normal View History

2020-07-08 02:11:21 +00:00
from django.urls import path
from . import views
urlpatterns = [
path('authors/', views.AuthorListView.as_view(), name='authors'),
path('books/', views.BookListView.as_view(), name='books'),
path('publishers/', views.PublisherListView.as_view(), name='publishers'),
path('ratings/', views.RatingListView.as_view(), name='ratings'),
path('tags/', views.TagListView.as_view(), name='tags'),
2020-07-15 15:20:35 +00:00
path('series/', views.SeriesListView.as_view(), name='series'),
2020-07-08 02:11:21 +00:00
path('author/<int:pk>', views.AuthorDetailView.as_view(), name='author-detail-view'),
path('book/<int:pk>', views.BookDetailView.as_view(), name='book-detail-view'),
path('publisher/<int:pk>', views.PublisherDetailView.as_view(), name='publisher-detail-view'),
path('rating/<int:pk>', views.RatingDetailView.as_view(), name='rating-detail-view'),
2020-07-15 15:20:35 +00:00
path('series/<int:pk>', views.SeriesDetailView.as_view(), name='series-detail-view'),
2020-07-08 02:11:21 +00:00
path('tag/<int:pk>', views.TagDetailView.as_view(), name='tag-detail-view'),
2020-07-09 01:57:30 +00:00
path('results/', views.ResultsView.as_view(), name='results'),
path('search/', views.SearchView.as_view(), name='search'),
2020-07-09 05:14:08 +00:00
path('accounts/sign_up/',views.sign_up,name="sign-up")
2020-07-08 02:11:21 +00:00
]