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

Removed extraneous 'id' field from all WritableSerializers

This commit is contained in:
Jeremy Stretch
2017-03-17 16:20:34 -04:00
parent 130ff27f26
commit e544f1fa1e
5 changed files with 33 additions and 41 deletions

View File

@@ -47,4 +47,4 @@ class WritableTenantSerializer(serializers.ModelSerializer):
class Meta:
model = Tenant
fields = ['id', 'name', 'slug', 'group', 'description', 'comments']
fields = ['name', 'slug', 'group', 'description', 'comments']