summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
authorHardik Ghaghada2013-07-02 17:36:21 +0530
committerHardik Ghaghada2013-07-02 17:46:39 +0530
commitc734fe4710c6e2240f02626288fbc6b915ab29dd (patch)
tree8a7d588ae969bf300568cbf44868676668a11f06 /testapp/exam/models.py
parentfe868c043487af8ea390165325309ad29daacc8e (diff)
downloadonline_test-c734fe4710c6e2240f02626288fbc6b915ab29dd.tar.gz
online_test-c734fe4710c6e2240f02626288fbc6b915ab29dd.tar.bz2
online_test-c734fe4710c6e2240f02626288fbc6b915ab29dd.zip
edited views & model to congrtulate student & corrected indentation at various places
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r--testapp/exam/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index 00d32e4..da9bc0a 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -113,6 +113,7 @@ class Quiz(models.Model):
class QuestionPaper(models.Model):
quiz = models.ForeignKey(Quiz)
questions = models.ManyToManyField(Question)
+ total_marks = models.FloatField()
################################################################################
class AnswerPaper(models.Model):