first
This commit is contained in:
parent
9dcdb7575e
commit
c0384cf037
29
apps/location/transfer.py
Normal file
29
apps/location/transfer.py
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
Country = {
|
||||||
|
"dependencies": None,
|
||||||
|
"legacy": "Cities",
|
||||||
|
"fields": {
|
||||||
|
"code": "country_code_2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Region = {
|
||||||
|
"dependencies": ["Country", "self"],
|
||||||
|
"legacy": "Cities",
|
||||||
|
"fields": {
|
||||||
|
"code": "region_code",
|
||||||
|
"country": "Country",
|
||||||
|
"parent_region": "self",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
City = {
|
||||||
|
"dependencies": ["Country", "Region"],
|
||||||
|
"legacy": "Cities",
|
||||||
|
"fields": {
|
||||||
|
"name": "name",
|
||||||
|
"region": "Region",
|
||||||
|
"country": "Country",
|
||||||
|
"postal_code": "zip_code",
|
||||||
|
"is_island": "is_island",
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user