class XForm(forms.Form):
    GENDER_CHOICES = ('male', 'Men'), ('female', 'Women')
genders = forms.MultipleChoiceField(choices=GENDER_CHOICES, widget=widgets.
    CheckboxSelectMultiple(), initial=[gender[0] for gender in GENDER_CHOICES])
Django: Display values of the selected multiple choice field in a template