Otherwise, when the field was containing None it would be converted to 'None' this is due to the default coerce being unicode in wtforms cf: http://wtforms.simplecodes.com/docs/0.6/fields.html#wtforms.fields.SelectField
unicode
:thumbsup:
Thanks :)
coerce it is :) :+1:
Pull-Request has been merged by pingou
Otherwise, when the field was containing None it would be converted
to 'None' this is due to the default coerce being
unicodein wtformscf: http://wtforms.simplecodes.com/docs/0.6/fields.html#wtforms.fields.SelectField