flask - ValueError: too many values to unpack python with wtforms_extended_selectfield -
To include this code in my WTForm project, select I copied and paste the code directly into my project and even used the example given to it: But this brings a different, yet similar error: optgroup
my / Code> in forms, but I am getting the following error:
for
for internal_val, group_items in internal_label: valueError: too many values to unpack
(('fruit', (('apple', 'Apple'), ('peach', 'aad' ('Peach', 'peach'), ('peach', 'peach'), ('pears',' pear ')), (' vegetables', ('cucumber', '
item1, item2 in field.choices: valueError: lots of values to open
By looking at SO, I have to add things such as .iteritems () See
in the section after In
, but since it is a Tupal, it was none thanks for the help.
Comments
Post a Comment