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'), path('author/', views.AuthorDetailView.as_view(), name='author-detail-view'), path('book/', views.BookDetailView.as_view(), name='book-detail-view'), path('publisher/', views.PublisherDetailView.as_view(), name='publisher-detail-view'), path('rating/', views.RatingDetailView.as_view(), name='rating-detail-view'), path('tag/', views.TagDetailView.as_view(), name='tag-detail-view'), path('results/', views.ResultsView.as_view(), name='results'), path('search/', views.SearchView.as_view(), name='search'), path('accounts/sign_up/',views.sign_up,name="sign-up") ]