fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3862401
)
Minor building fix.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 30 Jul 2021 12:47:38 +0000
(14:47 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 30 Jul 2021 12:47:38 +0000
(14:47 +0200)
src/catalogue/fields.py
patch
|
blob
|
history
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 = []
- 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