fix: cast enum as list to satisfy deform widget
seems to only be an issue for deform 2.0.15+
This commit is contained in:
parent
09ce2d5a40
commit
e531f98079
|
@ -46,7 +46,7 @@ class ExecutionOptions(colander.Schema):
|
||||||
action = colander.SchemaNode(
|
action = colander.SchemaNode(
|
||||||
colander.String(),
|
colander.String(),
|
||||||
validator=colander.OneOf(ACTION_OPTIONS),
|
validator=colander.OneOf(ACTION_OPTIONS),
|
||||||
widget=dfwidget.SelectWidget(values=ACTION_OPTIONS.items()))
|
widget=dfwidget.SelectWidget(values=list(ACTION_OPTIONS.items())))
|
||||||
|
|
||||||
|
|
||||||
class HandheldBatchView(FileBatchMasterView):
|
class HandheldBatchView(FileBatchMasterView):
|
||||||
|
|
Loading…
Reference in a new issue