1
0
Fork 0

Use fedireads key as default author identifier

This commit is contained in:
Mouse Reeve 2020-03-28 16:38:20 -07:00
parent 06ff795df1
commit 77e6e2d708
2 changed files with 2 additions and 2 deletions

View file

@ -409,7 +409,7 @@ def edit_book_page(request, book_identifier):
def author_page(request, author_identifier):
''' landing page for an author '''
try:
author = models.Author.objects.get(openlibrary_key=author_identifier)
author = models.Author.objects.get(fedireads_key=author_identifier)
except ValueError:
return HttpResponseNotFound()