Fix country
This commit is contained in:
parent
1841da0097
commit
f542403b96
|
|
@ -572,7 +572,7 @@ def add_fake_country():
|
||||||
"mysql_ids": []
|
"mysql_ids": []
|
||||||
}
|
}
|
||||||
|
|
||||||
country = Country.objects.create(**country_data)
|
country, _ = Country.objects.get_or_create(**country_data)
|
||||||
|
|
||||||
# add regions and subregions
|
# add regions and subregions
|
||||||
regions_data = [
|
regions_data = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user