artisan subtype
This commit is contained in:
parent
9b35da1eca
commit
78d4145336
|
|
@ -40,9 +40,10 @@ class Command(BaseCommand):
|
|||
defaults={
|
||||
'index_name': tag,
|
||||
'name': {'en-GB': tag},
|
||||
'establishment_type': es_type,
|
||||
}
|
||||
)
|
||||
artisan.tags.add(subtype)
|
||||
artisan.establishment_subtypes.add(subtype)
|
||||
artisan.save()
|
||||
|
||||
self.stdout.write(self.style.WARNING(f'Artisans subtype updated.'))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user