quiz/models.py
changeset 39 0fa055b8ea98
parent 28 456b7b9e3d13
child 43 265ed367e8cc
--- a/quiz/models.py	Wed Apr 21 19:52:51 2010 +0530
+++ b/quiz/models.py	Wed Apr 21 21:53:33 2010 +0530
@@ -29,7 +29,7 @@
 
     question = models.ForeignKey(QuestionBank)
     submitted_ans = models.TextField()
-    is_correct = models.BooleanField()
+    is_correct = models.BooleanField(default=False)
 
 class Quiz(models.Model):
     """ A model to hold the proceeding of a quiz.