Typo fix
This commit is contained in:
parent
e915ee1912
commit
1c3e0b9379
|
@ -287,7 +287,7 @@ def book_page(request, book_identifier, tab='friends'):
|
||||||
def author_page(request, author_identifier):
|
def author_page(request, author_identifier):
|
||||||
''' landing page for an author '''
|
''' landing page for an author '''
|
||||||
try:
|
try:
|
||||||
author = models.Author.objects.get(books_manager_key=author_identifier)
|
author = models.Author.objects.get(openlibrary_key=author_identifier)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return HttpResponseNotFound()
|
return HttpResponseNotFound()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue