Commit 78e2ed54 authored by RJC's avatar RJC

changed author list and detail url endpoints

parent 01da4b4c
......@@ -5,6 +5,6 @@ urlpatterns = [
path('homepage/', HomePageView.as_view()),
path('books/', BookListView.as_view()),
path('books/<int:pk>/', BookDetailView.as_view()),
path('author/', AuthorListView.as_view()),
path('author/<int:pk>/', AuthorDetailView.as_view()),
path('authors/', AuthorListView.as_view()),
path('authors/<int:pk>/', AuthorDetailView.as_view()),
]
\ 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