diff --git a/apps/establishment/management/commands/add_establishment_description.py b/apps/establishment/management/commands/add_establishment_description.py index 9b1da9e7..4fc43409 100644 --- a/apps/establishment/management/commands/add_establishment_description.py +++ b/apps/establishment/management/commands/add_establishment_description.py @@ -42,7 +42,7 @@ class Command(BaseCommand): ) for es_id, locale, text in text_qs: - establishment = Establishment.objects.filter(old_id=es_id).first() + establishment = Establishment.objects.filter(old_id=es_id, description__isnull=False).first() if establishment: description = establishment.description description.update({