From bacf08b41b92b8efab62eb86bf6ae85d73cae5db Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 25 Apr 2022 22:51:18 +0100 Subject: [PATCH] . --- atlas/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atlas/views.py b/atlas/views.py index 43fd3fe1..2e925204 100755 --- a/atlas/views.py +++ b/atlas/views.py @@ -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)