Monday, September 26, 2016

Problem with Crispy-Forms

I created an example application using Crispy-Forms.  In I am using

    radio_buttons = forms.ChoiceField(
        choices = (('option_one', 'Option one is this and that be sure to include why it is great'),('option_two', 'Option two can is something else and selecting it will deselect option one')),
        widget = forms.RadioSelect,
        initial = 'option_two',

However, when I execute, the two options appear on the same line.  can anyone tell me what I did wrong?

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment