Removed extraneous 'id' field from all WritableSerializers

This commit is contained in:
Jeremy Stretch
2017-03-17 16:20:34 -04:00
parent af2e7ca5a7
commit a0f931891b
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']