Hi, everyone. I have some trouble in SelectMultiple Widget. The detailed information is that:
In the form.py, I have defined a TestForm which contain a SelectMultiple Widget called selection #form.py class TestForm(forms.Form): selection = forms.CharField( widget=forms.SelectMultiple() ) Howvever, if I want to assign values to that widget, how to do that in the views.py? thank you very much --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---