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 9ca5f7df0f
commit c072bedd02
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']