From 7fac6e7f9c46a423bb3581856c42c8c7ded7d3cf Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 22 Jul 2020 09:59:05 +0200 Subject: [PATCH] Language in API. --- src/catalogue/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catalogue/api/serializers.py b/src/catalogue/api/serializers.py index 99a634675..45252a8f0 100644 --- 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', -- 2.20.1