From: Radek Czajka Date: Wed, 22 Jul 2020 07:59:05 +0000 (+0200) Subject: Language in API. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7fac6e7f9c46a423bb3581856c42c8c7ded7d3cf Language in API. --- 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',