Commit 690adcb5 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

edited urls.py

parent f4193577
...@@ -7,6 +7,6 @@ urlpatterns = [ ...@@ -7,6 +7,6 @@ urlpatterns = [
path('', HomeView.as_view(), name='homepage'), path('', HomeView.as_view(), name='homepage'),
path('author', AuthorView.as_view(), name='author-list'), path('author', AuthorView.as_view(), name='author-list'),
path('author/<int:pk>', AuthorDetailView.as_view(), name='author-detail'), path('author/<int:pk>', AuthorDetailView.as_view(), name='author-detail'),
path('boooks', BooksView.as_view(), name='books-list'), path('books', BooksView.as_view(), name='books-list'),
path('books/<int:pk>', BookDetailView.as_view(), name='books-detail'), path('books/<int:pk>', BookDetailView.as_view(), name='books-detail'),
] ]
\ 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