This commit is contained in:
Ross
2022-04-25 22:51:18 +01:00
parent e6f57a94e8
commit bacf08b41b
+1
View File
@@ -1383,6 +1383,7 @@ def delete_cid_answers(request, exam_id, cid):
temp = {}
for ans in cid_user_answers:
temp[ans.pk] = (ans.question.pk, ans.score, ans.cid, ans.answer)
ans.delete()
return JsonResponse(temp)