diff options
author | CruiseDevice | 2020-03-30 18:55:50 +0530 |
---|---|---|
committer | CruiseDevice | 2020-03-30 18:55:50 +0530 |
commit | 17e77e3d7ba5595a1d24004f886192ea2bb3f600 (patch) | |
tree | 7f767adf84c930dc906a33c1959e56d0e41b4aaa /yaksh | |
parent | e8573822d3ed25306d5d2faf946633f2c17997b0 (diff) | |
parent | a7b4b9e0c6699987d1dee4007e9c62da15559432 (diff) | |
download | online_test-17e77e3d7ba5595a1d24004f886192ea2bb3f600.tar.gz online_test-17e77e3d7ba5595a1d24004f886192ea2bb3f600.tar.bz2 online_test-17e77e3d7ba5595a1d24004f886192ea2bb3f600.zip |
Resolve Conflicts
Merge branch 'api' of https://github.com/prathamesh920/online_test into API
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 12c902b..949b87e 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1717,6 +1717,7 @@ class QuestionPaper(models.Model): for question_set in self.random_questions.all(): marks += question_set.marks * question_set.num_questions self.total_marks = marks + self.save() def _get_questions_for_answerpaper(self): """ Returns fixed and random questions for the answer paper""" |