[Django]-Django saving form strings in database with extra characters (u'string')

1👍

Aside from validation, form.clean_data() will perform some implicit conversions to Python data types. You can simply perform an explicit conversion by wrapping the returned value with the str() or the unicode() built-in. Afterwards, format the string using strip("(''),").

Leave a comment