Commit 4c01cc2c authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Added the path of the authors' details to the urlpatterns

parent 0c4f66d1
......@@ -5,5 +5,6 @@ urlpatterns = [
path('home/', HomepageView, name='home'),
path('books/', BooksListView.as_view(), name='books-list'),
path('books/<int:pk>', BooksDetailView.as_view(), name='book-details'),
path('authors/', AuthorsListView.as_view(), name = 'authors-list'),
path('authors/', AuthorsListView.as_view(), name='authors-list'),
path('authors/<int:pk>', AuthorsDetailView.as_view(), name='author-details'),
]
\ 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