summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authoradityacp2020-08-28 13:05:43 +0530
committeradityacp2020-08-28 13:05:43 +0530
commit9569e3ef6bbaeb8b36ad78c272006a538e044894 (patch)
tree60265da8ec1bd4d5e266fa1647b7c7f26a8bcf46 /yaksh
parent4b3477c6db3ecbedb961a0edce0d321f39404c3f (diff)
downloadonline_test-9569e3ef6bbaeb8b36ad78c272006a538e044894.tar.gz
online_test-9569e3ef6bbaeb8b36ad78c272006a538e044894.tar.bz2
online_test-9569e3ef6bbaeb8b36ad78c272006a538e044894.zip
fix question paper marks updationv0.22.1
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 2fe93ea..8413889 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -1527,8 +1527,8 @@ def design_questionpaper(request, course_id, quiz_id, questionpaper_id=None):
if questions:
questions = _remove_already_present(questionpaper_id, questions)
- question_paper.update_total_marks()
- question_paper.save()
+ question_paper.update_total_marks()
+ question_paper.save()
random_sets = question_paper.random_questions.all()
fixed_questions = question_paper.get_ordered_questions()
context = {