Open prihoda opened 3 years ago
Hi all,
I noticed that EnumField choices are rendered like this:
EnumField
CreateField('~MyEnumField', 'type', choices=(<MyEnum.MYVALUE: 'My value'>, <MyEnum.OTHERVALUE: 'Other value'>), ... )
I would expect something like this (along with the necessary import):
choices=(MyEnum.MYVALUE, MyEnum.OTHERVALUE),
I am hitting the same issue. Is there a way forward?
Hi all,
I noticed that
EnumField
choices are rendered like this:I would expect something like this (along with the necessary import):