1
0
Fork 0

Adds more fields to book data

This commit is contained in:
Mouse Reeve 2020-04-29 10:09:14 -07:00
parent 4f9edae05a
commit 6e218a85de
7 changed files with 48 additions and 9 deletions

View file

@ -431,7 +431,7 @@ def book_page(request, book_identifier, tab='friends'):
'path': '/book/%s' % book_identifier,
'cover_form': forms.CoverForm(instance=book),
'info_fields': [
{'name': 'ISBN', 'value': book.isbn},
{'name': 'ISBN', 'value': book.isbn_13},
{'name': 'OCLC number', 'value': book.oclc_number},
{'name': 'OpenLibrary ID', 'value': book.openlibrary_key},
{'name': 'Goodreads ID', 'value': book.goodreads_key},