def create_exam(usr,examtype,ts): curr_exam=ExamAttended(exam=examtype,user=usr)#create new exam curr_exam.save() return (curr_exam,ts)
def create_exam(usr,examtype): curr_exam=ExamAttended(exam=examtype,user=usr)#create new exam curr_exam.save() sec_left=10800 return (curr_exam,sec_left)