1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #796 from rburkholder/rburkholder-patch-TenantSerializer-description

rburkholder - patch - tenant serialiser - add description field to output
This commit is contained in:
Jeremy Stretch
2017-01-13 09:36:33 -05:00
committed by GitHub

View File

@ -30,7 +30,7 @@ class TenantSerializer(CustomFieldSerializer, serializers.ModelSerializer):
class Meta: class Meta:
model = Tenant model = Tenant
fields = ['id', 'name', 'slug', 'group', 'comments', 'custom_fields'] fields = ['id', 'name', 'slug', 'group', 'description', 'comments', 'custom_fields']
class TenantNestedSerializer(TenantSerializer): class TenantNestedSerializer(TenantSerializer):