Commit fa241b3a authored by Brendan Fausto's avatar Brendan Fausto

removed list of books made by author, caused errors

parent bddd89a3
...@@ -33,10 +33,4 @@ class AuthorDetailView(DetailView): ...@@ -33,10 +33,4 @@ class AuthorDetailView(DetailView):
model = Authors model = Authors
template_name = 'bookshelf/authors_details.html' template_name = 'bookshelf/authors_details.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
books = get_object_or_404(Books, pk=self.kwargs.get('pk'))
context["object"] = context
context["object"] = object
return context
# Create your views here. # Create your views here.
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