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