Hi all,
Let me just get straight to the point
I tried these:
label = forms.ChoiceField(choices=({'one':'one','two':'two'}) )
And received these:
Exception Type: TemplateSyntaxError
Exception Value: Caught an exception while rendering: too many values to
unpack
What was wrong with my code? Does anybody know how should I define the choices?
Thank you very much in advance
--
If you can't believe in God the chances are your God is too small.
Read my blog: http://joshuajava.wordpress.com/
Follow me on twitter: http://twitter.com/jpartogi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---