python - Django - Models 'MultiSelectField' errors in Template and Form -


i'm attempting display form let users create, read , update model object. used pip install django-multiselectfield install python package allows multiple choices stored in 1 db column. in admin panel, can select choice boxes in form without problems, in view returns form validationerror above field

value [u"[u'digital video'", u" u'direct marketing']"] not valid choice

in addition, when values saved in admin , use template tag render values in view values so...

ad type: [u'digital video'] 

as opposed expected 'ad type: digital video'.

any ideas why 1) preventing form being saved inside view (but works inside admin) , 2) why template renders value in way shown above , how can rectified?

thanks

edit: show html here realized need show more code... models.py:

ad_types = multiselectfield(verbose_name='ad type', choices=ad_types,     max_choices=10, blank=true, null=true) 


Comments