author = fullname count
# Full list of book columns:
# book = title series ser_no archive file size lib_id deleted date
-# author1 author_list
+# author1 author_list ext lang
# genre1name genre1title genre_name_list genre_title_list
# author1 is just one author from the list if there are more than 1
# author_list is a comma-separated list of full names
def genre_title_list(self):
return u', '.join([g.title for g in self.genres])
+ @property
+ def ext(self):
+ return self.extension.name
+
+ @property
+ def lang(self):
+ return self.language.name
+
class BookGenre(SQLObject):
class sqlmeta: