I have a translatable model “A” with several translatable fields. (I use django parler lib)
To add all fields to serializer I use this code:
class ASerializer(TranslatableModelSerializer): translations = TranslatedFieldsField(shared_model=A) class Meta: model = A fields = ('id', 'translations')
How can I exclude one of translatable fields from serializer?
Thanks for any answes or hints.