Re: Multiple Choice Quiz
Really, the problem is that I can't think of the best way to do it. I
know I want to reuse the questions and the answers that go along with
them. And I would like to be able to add new ones easily. So I tried
to use two different models for this: one for the questions and one
for the possible answer choices that go with each. So it basically
looks like the poll app set up. It seems like storing the radio button
answers would necessitate a third model. I would also need a fourth
model for the actual answers, correct ? I can't really see how all of
it should be combined. I would be happy just to know the best way to
combine the radio buttons with the potential answers. Am I correct
that a third model is needed to store the value for the button the
user selects ? Would this be a ModelForm that works with a single-
field model storing the value selected from the button ?
On Mar 11, 2:18 pm, Shawn Milochik <sh...@milochik.com> wrote:
> On 03/11/2012 02:13 PM, jbr3 wrote:
>
> > I've gone through the tutorial. But I would just like to get a general
> > idea of the best way to incorporate all these elements so I can save
> > and reuse them.
>
> What have you tried, and what specific issues have you run into?
>
> If you ask a question and nobody seems helpful, please read this and try
> a different approach:
>
> https://code.djangoproject.com/wiki/UsingTheMailingList
>
> Shawn
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home