just set 'initial=False' within the form-field works! Am Sonntag, 7. Dezember 2014 19:57:12 UTC+1 schrieb inoyon artlover KLANGRAUSCH: > > Hi there, I got a form: > > class Answers(models.ModelForm): > > psyq11 = forms.ModelChoiceField( > queryset=PsychologicQuestion11.objects.all(), > widget=forms.RadioSelect) > > > psyq12 = forms.ModelChoiceField( > queryset=PsychologicQuestion12.objects.all(), > widget=forms.RadioSelect) > > etc. etc.... > > The widget shows the '-------' entry.. I don't want it. Is there a way to > solve it? > Also I would like to split the form into four areas in the template... is > it possible? > > Best regards, cheers :) >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c3a9bfd-6027-4950-9f91-ec281718b1d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

