This commit is contained in:
Mouse Reeve 2020-03-11 17:44:54 -07:00
parent e915ee1912
commit 1c3e0b9379

View file

@ -287,7 +287,7 @@ def book_page(request, book_identifier, tab='friends'):
def author_page(request, author_identifier):
''' landing page for an author '''
try:
author = models.Author.objects.get(books_manager_key=author_identifier)
author = models.Author.objects.get(openlibrary_key=author_identifier)
except ValueError:
return HttpResponseNotFound()