Fix
This commit is contained in:
parent
afdc0154c6
commit
8787a6b944
|
|
@ -98,7 +98,7 @@ class Command(BaseCommand):
|
||||||
description=obj['description'],
|
description=obj['description'],
|
||||||
slug=obj['slug'], old_id=obj['collection_id'],
|
slug=obj['slug'], old_id=obj['collection_id'],
|
||||||
start=obj['start'],
|
start=obj['start'],
|
||||||
image_url='https://s3.eu-central-1.amazonaws.com/gm-test.com/media/collections/'+obj['attachment_suffix_url']
|
image_url='https://s3.eu-central-1.amazonaws.com/gm-test.com/media/'+obj['attachment_suffix_url']
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
Collection.objects.bulk_create(objects)
|
Collection.objects.bulk_create(objects)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user