diff --git a/wagtail/core/models.py b/wagtail/core/models.py index 83e66fc9c8..d34478803a 100644 --- a/wagtail/core/models.py +++ b/wagtail/core/models.py @@ -2407,7 +2407,7 @@ class WorkflowTask(Orderable): task = models.ForeignKey('Task', on_delete=models.CASCADE, verbose_name=_('task'), related_name='workflow_tasks') class Meta: - unique_together = [('workflow', 'sort_order')] + unique_together = [('workflow', 'sort_order'), ('workflow', 'task')] verbose_name = _('workflow task order') verbose_name_plural = _('workflow task orders')