Merge branch 'bug/establishment_optimize' into 'develop'

fix optimize establishment preview images

See merge request gm/gm-backend!212
This commit is contained in:
Anton Gorbunov 2020-01-16 07:06:19 +00:00
commit 04987fdbd9

View File

@ -24,5 +24,5 @@ class Command(BaseCommand):
establishment.preview_image_url = get_thumbnail(
file_=establishment.preview_image_url,
**sorl_settings
)
).url
establishment.save()