quiz/utils.py
changeset 40 89d29b1c42b5
parent 39 0fa055b8ea98
child 50 0842b3439c3e
equal deleted inserted replaced
39:0fa055b8ea98 40:89d29b1c42b5
    19             if re.findall(pattern, answer.submitted_ans):
    19             if re.findall(pattern, answer.submitted_ans):
    20                 answer.is_correct = True
    20                 answer.is_correct = True
    21                 answer.save()
    21                 answer.save()
    22                 break
    22                 break
    23 
    23 
    24 """
       
    25 we send quiz objects filtered by event and quiz num one by and update answer objects in all corresponding answers
       
    26 later while retreving, we filter on user also ( for displaying in the table)
       
    27 the table is by default in sorted fashion and also has the links.
       
    28 seperate table for each quiz.
       
    29 """
       
    30