edited Address in location/transfer.py
This commit is contained in:
parent
bc7d4ef5a5
commit
03b22d79db
|
|
@ -84,8 +84,8 @@ card = {
|
||||||
"Cities": [(
|
"Cities": [(
|
||||||
(None, "country_code_2"),
|
(None, "country_code_2"),
|
||||||
("Country", "country", "code", "CharField")),
|
("Country", "country", "code", "CharField")),
|
||||||
((None, "subregion_code"), #TODO: как сопоставлять parent_region из postgres с subregion_code из legacy ?
|
# ((None, "subregion_code"), #TODO: как сопоставлять parent_region из postgres с subregion_code из legacy ?
|
||||||
("Region", "parent_region", "code", "CharField"))
|
# ("Region", "parent_region", "code", "CharField"))
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -132,14 +132,13 @@ card = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
"Locations": [ #TODO: Locations ссылается внешним ключом на Cities
|
"Cities": [ #TODO: Locations ссылается внешним ключом на Cities
|
||||||
# (("city", "name"),
|
(("city_id", "id"),
|
||||||
# ("City", "city", "name", "CharField"))
|
("City", "city", "id", "PositiveIntegerField"))
|
||||||
]
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
used_apps = None
|
used_apps = None
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user