book.title
)By Mabel Barr
(book.author
)
Description:
( book.description )
|
Do you think the townsfolk will ever find Hamster Huey's head? | ||
AKA:
( book.title.translations )
|
|
||
Pages:
( book.number_of_pages )
|
101 | ||
Extra details: |
Note: This is a plain json field to demonstrate how garnett
overrides of certain json behaviours don't impact other non-garnett fields.
|
||
This book available in:
( book.available_languages )
|
Note: This method returns a list of languages that have
values for all fields on this model.
|
Regardless of which language is selected the properties shown as code
above show the properties used to populate this django template.
Eg. book.title
will return the
name of the book in your selected langauge (if it is available).