Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
danielquinn committed Jan 27, 2019
1 parent e4dece8 commit 97f1e4a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/documents/serialisers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,29 @@ class CorrespondentSerializer(serializers.HyperlinkedModelSerializer):

class Meta:
model = Correspondent
fields = ("id", "slug", "name", "match", "matching_algorithm", "is_insensitive")
fields = (
"id",
"slug",
"name",
"match",
"matching_algorithm",
"is_insensitive"
)


class TagSerializer(serializers.HyperlinkedModelSerializer):

class Meta:
model = Tag
fields = (
"id", "slug", "name", "colour", "match", "matching_algorithm", "is_insensitive")
"id",
"slug",
"name",
"colour",
"match",
"matching_algorithm",
"is_insensitive"
)


class CorrespondentField(serializers.HyperlinkedRelatedField):
Expand Down

0 comments on commit 97f1e4a

Please sign in to comment.