Closed tillmo closed 4 years ago
For a quiz, there are three possible states:
just some hints:
backend/lqserver/QuizBoard/models.py
, you need to add a Justification
field to class Response
.qt = QuizTakers.objects.create(user=u, quiz=q, correct_answers=..., completed=... )
Response.objects.create(quiztaker=qt,question=q_1,answer=a_1,justification=j_1)
...
Response.objects.create(quiztaker=qt,question=q_n,answer=a_n,justification=j_n)
Please do not hesitate to ask any questions.
fixed by #64
a user that returns to the quiz page should not start from scratch, but from his/her previous state It suffices to store that data once the user presses "submit"