Hello,
I don't know how to do it, I have the same problem.
I manage to do it defining the combo with the select html tag in the
template directly but what I really want to use it in the way you
explain (with form.ComboField).
Any ideas?
On 23 ago, 12:47, 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 [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
-~----------~----~----~----~------~----~------~--~---