Add default value for bid.data.status ('draft')
Add default status draft
for bid.data.status and make it required
at
status = types.StringType(choices=['draft', 'active', 'deleted'])
Edited by Ghost User
Add default status draft
for bid.data.status and make it required
at
status = types.StringType(choices=['draft', 'active', 'deleted'])