From 007db4b9a2146a75cb19b87a7fd3db68a41d23db Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 8 Mar 2021 11:51:12 +0000 Subject: [PATCH] . --- longs/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/longs/models.py b/longs/models.py index b901c21d..77d40c47 100644 --- a/longs/models.py +++ b/longs/models.py @@ -186,7 +186,7 @@ class Long(models.Model): # We are still limited by the size of a series (although this should not be too big or computers will crash...) #image_array = [image_as_base64(i.image) for i in series.images.all()] - image_array = [i.image for i in series.images.all()] + image_array = [i.image.url for i in series.images.all()] f.write(json.dumps(image_array)) #images.append(image_array) if i != len(question_series) - 1: