This commit is contained in:
Ross
2021-03-08 13:44:10 +00:00
parent 236a26934d
commit 6071efef97
+2 -2
View File
@@ -198,8 +198,8 @@ class Long(models.Model):
# #image_array.append(i.image.url)
# 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.url for i in series.images.all()]
#image_array = [image_as_base64(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(url)
if i != len(question_series) - 1: