Fix setting CF data if CF object is missing
This commit is contained in:
parent
91ab616cc5
commit
81d9e4f560
22 changed files with 73 additions and 44 deletions
|
@ -14,6 +14,6 @@ for params in providers:
|
|||
provider, created = Provider.objects.get_or_create(**params)
|
||||
|
||||
if created:
|
||||
set_custom_fields_values(provider, custom_field_data)
|
||||
|
||||
print("📡 Created provider", provider.name)
|
||||
|
||||
set_custom_fields_values(provider, custom_field_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue