Commit 9ba6a73c authored by Ysabella Panghulan's avatar Ysabella Panghulan

fixed Books and Author details views urls

parent 3fd9ce12
......@@ -5,8 +5,8 @@ from .views import (Homepage, BooksListView, BooksDetailView, AuthorListView, Au
urlpatterns = [
path('authors/', AuthorListView.as_view(), name='authors'),
path('authors/<int:pk>/details', AuthorDetailView.as_view(), name='author-details'),
path('authors/<int:pk>/details/', AuthorDetailView.as_view(), name='author-details'),
path('books/', BooksListView.as_view(), name='books'),
path('books/<int:pk>/details', BooksDetailView.as_view(), name='book-details'),
path('books/<int:pk>/details/', BooksDetailView.as_view(), name='book-details'),
path('home/', Homepage.as_view(), name='home'),
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment