fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Audiobook fixes.
[wolnelektury.git]
/
src
/
catalogue
/
fields.py
diff --git
a/src/catalogue/fields.py
b/src/catalogue/fields.py
index
4487549
..
4c8a780
100644
(file)
--- 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 = []
"""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)
def __init__(self, format_name, *args, **kwargs):
super(EbookField, self).__init__(*args, **kwargs)
@@
-125,6
+124,8
@@
class EbookField(models.FileField):
class BuildEbook(Task):
class BuildEbook(Task):
+ librarian2_api = False
+
formats = {}
@classmethod
formats = {}
@classmethod