From afdc0154c60dd49256eff2c8cfc76b3a75308996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80=20=D0=93=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=BA=D0=B8=D1=85?= Date: Fri, 1 Nov 2019 16:24:17 +0300 Subject: [PATCH] Fix --- apps/collection/management/commands/import_collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/collection/management/commands/import_collection.py b/apps/collection/management/commands/import_collection.py index 45f8ddb8..f7d12251 100644 --- a/apps/collection/management/commands/import_collection.py +++ b/apps/collection/management/commands/import_collection.py @@ -98,7 +98,7 @@ class Command(BaseCommand): description=obj['description'], slug=obj['slug'], old_id=obj['collection_id'], start=obj['start'], - image_url=obj['attachment_suffix_url'] + image_url='https://s3.eu-central-1.amazonaws.com/gm-test.com/media/collections/'+obj['attachment_suffix_url'] ) ) Collection.objects.bulk_create(objects)