diff --git a/app/models/book.py b/app/models/book.py index 7197c8a..5a71821 100644 --- a/app/models/book.py +++ b/app/models/book.py @@ -148,3 +148,7 @@ class Book(BaseModel): ) return interpretations + + @property + def contributors_users(self): + return [contributors.user for contributors in self.contributors] diff --git a/app/templates/book/collection_view.html b/app/templates/book/collection_view.html index 2484825..eb36824 100644 --- a/app/templates/book/collection_view.html +++ b/app/templates/book/collection_view.html @@ -26,13 +26,6 @@ -