Commit 3f6ec5f9 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Fixed typo in template_name of BookCreateView

parent 99a10e6e
...@@ -15,7 +15,7 @@ def HomepageView(request): ...@@ -15,7 +15,7 @@ def HomepageView(request):
class BookCreateView(CreateView): class BookCreateView(CreateView):
model = Books model = Books
fields = '__all__' fields = '__all__'
template_name = 'bookshelf/add-book.hmtl' template_name = 'bookshelf/add-book.html'
class AuthorCreateView(CreateView): class AuthorCreateView(CreateView):
model = Author model = Author
......
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