policies/api: fix target returning pbm_uuid instead of proper primary key of the object

This commit is contained in:
Jens Langhammer
2020-09-08 17:38:41 +02:00
parent f0b5e8143e
commit 9712be847c
11 changed files with 134 additions and 36 deletions

View File

@ -93,7 +93,7 @@ class Flow(SerializerModel, PolicyBindingModel):
name = models.TextField()
slug = models.SlugField(unique=True)
title = models.TextField(default="", blank=True)
title = models.TextField()
designation = models.CharField(max_length=100, choices=FlowDesignation.choices)