summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {