fix tags command
This commit is contained in:
parent
e653e6c7da
commit
a4c9c8f0cc
|
|
@ -55,7 +55,11 @@ class Command(BaseCommand):
|
||||||
establishment__id__in=list(existing_establishment.values_list('old_id', flat=True))):
|
establishment__id__in=list(existing_establishment.values_list('old_id', flat=True))):
|
||||||
|
|
||||||
new_tag, _ = Tag.objects.get_or_create(
|
new_tag, _ = Tag.objects.get_or_create(
|
||||||
label={'en-GB': tag.value},
|
label={
|
||||||
|
'en-GB': tag.value,
|
||||||
|
'fr-FR': tag.value,
|
||||||
|
'ru-RU': tag.value,
|
||||||
|
},
|
||||||
value=tag.value,
|
value=tag.value,
|
||||||
category=tag_category,
|
category=tag_category,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user