Skip to content

Commit

Permalink
fix question paper marks updation
Browse files Browse the repository at this point in the history
  • Loading branch information
adityacp committed Aug 28, 2020
1 parent 4b3477c commit 9569e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaksh/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9569e3e

Please sign in to comment.