Commit 32c17a98 authored by RJC's avatar RJC

added url endpoints for book and author list and detail views

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