Commit e824bf94 authored by Javi Ng's avatar Javi Ng

pre-lab 4 commit

parent 4002e438
......@@ -6,7 +6,7 @@ from django.views.generic.detail import DetailView
# Create your views here.
def HomeView(request):
return render(request, "bookshelf/home.html")
return render(request, 'bookshelf/home.html')
class BookListView(ListView):
template_name = 'bookshelf/books.html'
......
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