From 8707a357b18c6ed79f75b303016ae8b60759c17e Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 19 Aug 2021 16:55:51 +0100 Subject: [PATCH] . --- rapids/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids/views.py b/rapids/views.py index c11f44bc..68ad52b7 100755 --- a/rapids/views.py +++ b/rapids/views.py @@ -1162,8 +1162,8 @@ def question_save_annotation(request, pk): for n, annotation in enumerate(image_annotations): if annotation != "undefined": - question.images[n].image_annotations = annotation - question.images[n].save() + question_images[n].image_annotations = annotation + question_images[n].save() data = {"status": "success"} return JsonResponse(data, status=200)