Skip to content

Commit

Permalink
Add fields to serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
phala committed May 22, 2017
1 parent 55c56b8 commit c9fd8d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions link/api/__init__.py
Expand Up @@ -16,6 +16,7 @@ class Meta(object):
class LinkSerializer(PropertiesMixin, serializers.HyperlinkedModelSerializer):
class Meta(object):
model = Link
fields = ("absolute_url", )


class LinkObjectsViewSet(viewsets.ModelViewSet):
Expand Down

0 comments on commit c9fd8d1

Please sign in to comment.