diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index b917889..3a6b326 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -954,10 +954,10 @@ class AnswerPaper(models.Model): comments = models.TextField() # Total marks earned by the student in this paper. - marks_obtained = models.FloatField(null=True, default=None) + marks_obtained = models.FloatField(null=True, default=0.0) # Marks percent scored by the user - percent = models.FloatField(null=True, default=None) + percent = models.FloatField(null=True, default=0.0) # Result of the quiz, True if student passes the exam. passed = models.NullBooleanField() |