From 9569e3ef6bbaeb8b36ad78c272006a538e044894 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 28 Aug 2020 13:05:43 +0530 Subject: fix question paper marks updation --- yaksh/views.py | 4 ++-- 1 file 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 = { -- cgit