ankit1997 / pagure

Forked from pagure 7 years ago
Clone

a84bb7c Allow all the forms containing an optional SelectField to return None

Authored and Committed by pingou 7 years ago
    Allow all the forms containing an optional SelectField to return None
    
    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
    
        
file modified
+2 -1