- cover_clean = EbookField(
- 'cover_clean', _('clean cover'),
- null=True, blank=True,
- upload_to=_cover_clean_upload_to,
- max_length=255
- )
- cover_clean_etag = models.CharField(max_length=255, editable=False, default='', db_index=True)
- cover_thumb = EbookField(
- 'cover_thumb', _('cover thumbnail'),
- null=True, blank=True,
- upload_to=_cover_thumb_upload_to,
- max_length=255)
- cover_thumb_etag = models.CharField(max_length=255, editable=False, default='', db_index=True)
- cover_api_thumb = EbookField(
- 'cover_api_thumb', _('cover thumbnail for mobile app'),
- null=True, blank=True,
- upload_to=_cover_api_thumb_upload_to,
- max_length=255)
- cover_api_thumb_etag = models.CharField(max_length=255, editable=False, default='', db_index=True)
- simple_cover = EbookField(
- 'simple_cover', _('cover for mobile app'),
- null=True, blank=True,
- upload_to=_simple_cover_upload_to,
- max_length=255)
- simple_cover_etag = models.CharField(max_length=255, editable=False, default='', db_index=True)
- cover_ebookpoint = EbookField(
- 'cover_ebookpoint', _('cover for Ebookpoint'),
- null=True, blank=True,
- upload_to=_cover_ebookpoint_upload_to,
- max_length=255)
- cover_ebookpoint_etag = models.CharField(max_length=255, editable=False, default='', db_index=True)
+ cover_clean = fields.CoverCleanField('czysta okładka')
+ cover_thumb = fields.CoverThumbField('miniatura okładki')
+ cover_api_thumb = fields.CoverApiThumbField(
+ 'mniaturka okładki dla aplikacji')
+ simple_cover = fields.SimpleCoverField('okładka dla aplikacji')
+ cover_ebookpoint = fields.CoverEbookpointField(
+ 'okładka dla Ebookpoint')
+