flows/: more migration progress, consolidate views

This commit is contained in:
Jens Langhammer
2020-05-07 21:30:52 +02:00
parent 8de66b27ad
commit 5400882d78
23 changed files with 77 additions and 48 deletions

View File

@ -59,6 +59,13 @@ class FlowFactorBinding(PolicyBindingModel, UUIDModel):
flow = models.ForeignKey("Flow", on_delete=models.CASCADE)
factor = models.ForeignKey(Factor, on_delete=models.CASCADE)
re_evaluate_policies = models.BooleanField(
default=False,
help_text=_(
"When this option is enabled, the planner will re-evaluate policies bound to this."
),
)
order = models.IntegerField()
def __str__(self) -> str: