Commit 0f07d739 authored by Trisha Angel Millena's avatar Trisha Angel Millena

Edited urls.py

parent edf0e30e
...@@ -9,6 +9,8 @@ urlpatterns = [ ...@@ -9,6 +9,8 @@ urlpatterns = [
path('books/<int:pk>/details', BooksDetailView.as_view(), name = 'book-details'), path('books/<int:pk>/details', BooksDetailView.as_view(), name = 'book-details'),
path('authors/', AuthorListView.as_view(), name = 'author-list'), path('authors/', AuthorListView.as_view(), name = 'author-list'),
path('authors/<int:pk>/details', AuthorDetailView.as_view(), name = 'author-details'), path('authors/<int:pk>/details', AuthorDetailView.as_view(), name = 'author-details'),
path('books/add/', BookCreateView.as_view(), name = "add-book"),
] ]
app_name = "bookshelf" app_name = "bookshelf"
\ 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