X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3862401b670120eaebd893e2bf445ce48f4d9e75..51ac945348ac0e1de1daaa181a8a81c2dc0801c0:/src/catalogue/fields.py?ds=inline diff --git a/src/catalogue/fields.py b/src/catalogue/fields.py index 448754957..4c8a780f0 100644 --- a/src/catalogue/fields.py +++ b/src/catalogue/fields.py @@ -56,7 +56,6 @@ class EbookField(models.FileField): """Represents an ebook file field, attachable to a model.""" attr_class = EbookFieldFile registry = [] - librarian2_api = False def __init__(self, format_name, *args, **kwargs): super(EbookField, self).__init__(*args, **kwargs) @@ -125,6 +124,8 @@ class EbookField(models.FileField): class BuildEbook(Task): + librarian2_api = False + formats = {} @classmethod