i made a from

lista = (("1","one"), ("2", "two"))
pending = forms.ChoiceField(widget=forms.SelectMultiple, choices=lista)



I do get it as post method.
I do get true with is_valid()

it renders properly in the website. 
but when I press the submit button.

and I am printing the form.cleaned_data["pending"]
its just empty =(
so I try  to do 
for I in form.cleaned_data["pending"]
    print i
and its also empty

should I get a list out of the multiselect form? 

I just want to print all the lines that are in there.  even if they are not 
selected.   I want to retrieve the 1 and 2 in the view.

might be a missing part that I am not doing correct.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6dc74f0f-5a7a-4855-907b-464981c58559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to