Hi,
I've set the player form with:
class PlayerForm(forms.Form):
challengeable = forms.BooleanField(required=False)
show_name = forms.BooleanField(required=False)
country = forms.ModelMultipleChoiceField(queryset=Country.objects.all())
and the template with:
<input id="id_challengeable" name="challengeable" type="checkbox">
<input id="id_show_name" name="show_name" type="checkbox">
I've a problem to set the field 'country':
<select id=??
<option id=??
thanks,
Alfredo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---