.
This commit is contained in:
+1
-1
@@ -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...)
|
# 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 = [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))
|
f.write(json.dumps(image_array))
|
||||||
#images.append(image_array)
|
#images.append(image_array)
|
||||||
if i != len(question_series) - 1:
|
if i != len(question_series) - 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user