flows: fix incorrect pk being used in FlowStageBinding Form
This commit is contained in:
parent
9712be847c
commit
102d536a72
|
@ -40,7 +40,9 @@ class FlowForm(forms.ModelForm):
|
||||||
class FlowStageBindingForm(forms.ModelForm):
|
class FlowStageBindingForm(forms.ModelForm):
|
||||||
"""FlowStageBinding Form"""
|
"""FlowStageBinding Form"""
|
||||||
|
|
||||||
stage = GroupedModelChoiceField(queryset=Stage.objects.all().select_subclasses())
|
stage = GroupedModelChoiceField(
|
||||||
|
queryset=Stage.objects.all().select_subclasses(), to_field_name="stage_uuid"
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
||||||
|
|
Reference in New Issue