mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-10 09:19:27 +00:00
✨ lint ✨
This commit is contained in:
parent
1f2c296cfd
commit
7ed2ed116a
|
@ -88,56 +88,20 @@ class Book(BookDataModel):
|
|||
|
||||
objects = InheritanceManager()
|
||||
|
||||
cover_bw_book_xsmall_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xsmall:webp'
|
||||
)
|
||||
cover_bw_book_xsmall_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xsmall:jpg'
|
||||
)
|
||||
cover_bw_book_small_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:small:webp'
|
||||
)
|
||||
cover_bw_book_small_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:small:jpg'
|
||||
)
|
||||
cover_bw_book_medium_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:medium:webp'
|
||||
)
|
||||
cover_bw_book_medium_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:medium:jpg'
|
||||
)
|
||||
cover_bw_book_large_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:large:webp'
|
||||
)
|
||||
cover_bw_book_large_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:large:jpg'
|
||||
)
|
||||
cover_bw_book_xlarge_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xlarge:webp'
|
||||
)
|
||||
cover_bw_book_xlarge_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xlarge:jpg'
|
||||
)
|
||||
cover_bw_book_xsmall_webp = ImageSpecField(source="cover", id="bw:book:xsmall:webp")
|
||||
cover_bw_book_xsmall_jpg = ImageSpecField(source="cover", id="bw:book:xsmall:jpg")
|
||||
cover_bw_book_small_webp = ImageSpecField(source="cover", id="bw:book:small:webp")
|
||||
cover_bw_book_small_jpg = ImageSpecField(source="cover", id="bw:book:small:jpg")
|
||||
cover_bw_book_medium_webp = ImageSpecField(source="cover", id="bw:book:medium:webp")
|
||||
cover_bw_book_medium_jpg = ImageSpecField(source="cover", id="bw:book:medium:jpg")
|
||||
cover_bw_book_large_webp = ImageSpecField(source="cover", id="bw:book:large:webp")
|
||||
cover_bw_book_large_jpg = ImageSpecField(source="cover", id="bw:book:large:jpg")
|
||||
cover_bw_book_xlarge_webp = ImageSpecField(source="cover", id="bw:book:xlarge:webp")
|
||||
cover_bw_book_xlarge_jpg = ImageSpecField(source="cover", id="bw:book:xlarge:jpg")
|
||||
cover_bw_book_xxlarge_webp = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xxlarge:webp'
|
||||
source="cover", id="bw:book:xxlarge:webp"
|
||||
)
|
||||
cover_bw_book_xxlarge_jpg = ImageSpecField(
|
||||
source='cover',
|
||||
id='bw:book:xxlarge:jpg'
|
||||
)
|
||||
|
||||
|
||||
cover_bw_book_xxlarge_jpg = ImageSpecField(source="cover", id="bw:book:xxlarge:jpg")
|
||||
|
||||
@property
|
||||
def author_text(self):
|
||||
|
|
Loading…
Reference in a new issue