Commit a707e346 authored by Jayson Lim's avatar Jayson Lim

Finalized urls following the specifications

parent 00746cff
...@@ -7,8 +7,8 @@ urlpatterns = [ ...@@ -7,8 +7,8 @@ urlpatterns = [
path('home/', home_view, name='home'), path('home/', home_view, name='home'),
path('books/', BooksListView.as_view(), name='books'), path('books/', BooksListView.as_view(), name='books'),
path('authors/', AuthorsListView.as_view(), name='authors'), path('authors/', AuthorsListView.as_view(), name='authors'),
path('books/<int:pk>', BooksDetailView.as_view(), name='books-detail'), path('books/<int:pk>/details', BooksDetailView.as_view(), name='books-detail'),
path('authors/<int:pk>', AuthorsDetailView.as_view(), name='authors-detail'), path('authors/<int:pk>/details/', AuthorsDetailView.as_view(), name='authors-detail'),
] ]
app_name = "bookshelf" app_name = "bookshelf"
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