fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca084da
)
Language in API.
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 22 Jul 2020 07:59:05 +0000
(09:59 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000
(14:15 +0200)
src/catalogue/api/serializers.py
patch
|
blob
|
history
diff --git
a/src/catalogue/api/serializers.py
b/src/catalogue/api/serializers.py
index
99a6346
..
45252a8
100644
(file)
--- a/
src/catalogue/api/serializers.py
+++ b/
src/catalogue/api/serializers.py
@@
-106,7
+106,7
@@
class BookDetailSerializer(LegacyMixin, serializers.ModelSerializer):
class Meta:
model = Book
fields = [
- 'title', 'url',
+ 'title', 'url',
'language',
'epochs', 'genres', 'kinds', 'authors', 'translators',
'fragment_data', 'children', 'parent', 'preview',
'epub', 'mobi', 'pdf', 'html', 'txt', 'fb2', 'xml', 'media', 'audio_length',