changeset 14 | ea7d372bfbff |
parent 13 | ad193c5014b2 |
child 15 | 99af908a4174 |
--- a/quiz/models.py Tue Apr 20 15:39:07 2010 +0530 +++ b/quiz/models.py Tue Apr 20 15:44:43 2010 +0530 @@ -24,9 +24,9 @@ """ A model for holding answers submitted by users. """ - question = models.ForeignKey(Question) + question = models.ForeignKey(QuestionBank) submitted_ans = models.TextField() - is_correct = models.BoolenField() + is_correct = models.BooleanField() class Quiz(models.Model): """ A model to hold the proceeding of a quiz.