too many values to unpack (expected 2) error for ChoiceField in

Submitted 1 year, 10 months ago
Ticket #30
Views 446
Language Django
Priority Urgent
Status Closed

    Status = forms.ChoiceField(widget=forms.Select, choices=Status_choices)


Submitted on Jul 01, 20
add a comment

1 Answer


Hi, again its me. its hard to understand your issue. So i would suggest , please provide more details when you submit the issue. So all techions will able to jump into the issue and help you. Of course we will get some points as well :P. Ok coming to that issue, i dont undestand what the issue, what are you expecting here. from your error, it self, you could able to find the issue, try this Status_choices=(('T','True'),('F','False')) Status = forms.ChoiceField(widget=forms.Select, choices=Status_choices)

Submitted 1 year, 11 months ago

Thanks issue has been resolved by doing this.

- moazamrana22 1 year, 11 months ago

Wanna Post Ad?
Reach a large group of audience by posting an ad about your business here. For more details
Drop us a Message