From a6b4fc7e81751ac97335f2a191f2f7a07a47885a Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Wed, 5 Sep 2018 14:57:37 +0200 Subject: [PATCH] fixed api --- src/documents/serialisers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/documents/serialisers.py diff --git a/src/documents/serialisers.py b/src/documents/serialisers.py old mode 100644 new mode 100755 index 504999276..109b03f86 --- a/src/documents/serialisers.py +++ b/src/documents/serialisers.py @@ -7,7 +7,7 @@ class CorrespondentSerializer(serializers.HyperlinkedModelSerializer): class Meta(object): model = Correspondent - fields = ("id", "slug", "name") + fields = ("id", "slug", "name", "automatic_classification") class TagSerializer(serializers.HyperlinkedModelSerializer): @@ -15,7 +15,7 @@ class TagSerializer(serializers.HyperlinkedModelSerializer): class Meta(object): model = Tag fields = ( - "id", "slug", "name", "colour", "match", "matching_algorithm") + "id", "slug", "name", "colour", "automatic_classification") class CorrespondentField(serializers.HyperlinkedRelatedField):