Skip to content

Commit

Permalink
Merge pull request netbox-community#796 from rburkholder/rburkholder-…
Browse files Browse the repository at this point in the history
…patch-TenantSerializer-description

rburkholder - patch - tenant serialiser - add description field to output
  • Loading branch information
jeremystretch authored Jan 13, 2017
2 parents da88ce7 + eb28f4a commit a89df87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/tenancy/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TenantSerializer(CustomFieldSerializer, serializers.ModelSerializer):

class Meta:
model = Tenant
fields = ['id', 'name', 'slug', 'group', 'comments', 'custom_fields']
fields = ['id', 'name', 'slug', 'group', 'description', 'comments', 'custom_fields']


class TenantNestedSerializer(TenantSerializer):
Expand Down

0 comments on commit a89df87

Please sign in to comment.