On Wednesday 07 June 2017 01:55:01 Pavan Kumar Polineni wrote:
> class Answer(models.Model):
> question = models.ForeignKey(Question)
> choice_text = models.CharField(max_length=200)
> answer = models.BooleanField(default=False)
^ What is that field supposed to be? Is it the "correct answer" in a multiple-choice test? Or is it supposed to be the "answer given by someone answering the question"?
(In both cases this isn't the way to do it).
--
Melvyn Sopacua
No comments:
Post a Comment