Commit 4d414f72 authored by Ysabella Panghulan's avatar Ysabella Panghulan

added author list and detail views

parent a7d2b177
......@@ -23,3 +23,11 @@ class BooksListView(ListView):
class BooksDetailView(DetailView):
model = Books
template_name = 'bookshelf/book_details.html'
class AuthorListView(ListView):
model = Author
template_name = 'bookshelf/authors.html'
class AuthorDetailView(DetailView):
model = Author
template_name = 'bookshelf/author_details.html'
\ 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