ComboField takes a list of fields that should be used to validate a value, in that order. >>> f = ComboField(fields=[CharField(max_length=20), EmailField()])
If you just need a dropdown select then use choiceField >>>t = [('test','select')] >>>f = forms.ChoiceField(choices=t) On Aug 23, 4:47 pm, altahay <[EMAIL PROTECTED]> wrote: > Hello, > > I defined my form with a comboField like: > > class addressForm (forms.Form): > ... > language = forms.ComboField() > ... > > and I fill in like that: > > languages = Language.objects.all() > > data = { > ... > 'language': languages, > ... } > > but what I see in the navigator is a text box with the description of > the languages instead a combo. > > Anaybody knows what I'm doing wrong? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---