add filter for description
This commit is contained in:
parent
22b4b94f1b
commit
c69ef65d79
|
|
@ -42,7 +42,7 @@ class Command(BaseCommand):
|
|||
)
|
||||
|
||||
for es_id, locale, text in text_qs:
|
||||
establishment = Establishment.objects.filter(old_id=es_id, description__isnull=False).first()
|
||||
establishment = Establishment.objects.filter(old_id=es_id, description__isnull=True).first()
|
||||
if establishment:
|
||||
description = establishment.description
|
||||
description.update({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user