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

Restore not-so-extraneous 'id' field to all WritableSerializers

This commit is contained in:
Jeremy Stretch
2017-03-17 17:32:43 -04:00
parent f02dd2f439
commit c08fae8bce
6 changed files with 34 additions and 34 deletions

View File

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