Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pgajdos:t
trytond_country
002_support_pycountry_22.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 002_support_pycountry_22.diff of Package trytond_country
diff --git a/country.py b/country.py index 1e8e76671099672eb5baffd84dd6d1694f547de6..53fafa430e9c1eaef01c68c59d5fbaed3834cccf 100644 --- a/country.py +++ b/country.py @@ -98,12 +98,14 @@ class Subdivision(DeactivableMixin, ModelSQL, ModelView): ('administration', 'Administration'), ('administrative area', 'Administrative area'), ('administrative atoll', 'Administrative atoll'), + ('administrative precinct', 'Administrative precinct'), ('administrative region', 'Administrative Region'), ('administrative territory', 'Administrative Territory'), ('area', 'Area'), ('atoll', 'Atoll'), ('arctic region', 'Arctic Region'), ('autonomous city', 'Autonomous City'), + ('autonomous city in north africa', 'Autonomous city in north africa'), ('autonomous commune', 'Autonomous Commune'), ('autonomous communities', 'Autonomous communities'), ('autonomous community', 'Autonomous community'), @@ -119,44 +121,63 @@ class Subdivision(DeactivableMixin, ModelSQL, ModelView): ('autonomous territorial unit', 'Autonomous territorial unit'), ('borough', 'Borough'), ('canton', 'Canton'), + ('capital', 'Capital'), ('capital city', 'Capital city'), ('capital district', 'Capital District'), ('capital metropolitan city', 'Capital Metropolitan City'), ('capital territory', 'Capital Territory'), + ('chain (of islands)', 'Chain (of islands)'), ('chains (of islands)', 'Chains (of islands)'), ('city', 'City'), ('city corporation', 'City corporation'), + ('city municipality', 'City municipality'), ('city with county rights', 'City with county rights'), ('commune', 'Commune'), ('constitutional province', 'Constitutional province'), ('council area', 'Council area'), ('country', 'Country'), ('county', 'County'), + ('decentralized regional entity', 'Decentralized regional entity'), ('department', 'Department'), ('dependency', 'Dependency'), ('development region', 'Development region'), ('district', 'District'), ('district council area', 'District council area'), + ('district municipality', 'District municipality'), + ('districts under republic administration', + 'Districts under republic administration'), + ('district with special status', 'District with special status'), ('division', 'Division'), ('economic prefecture', 'Economic Prefecture'), ('economic region', 'Economic region'), ('emirate', 'Emirate'), ('entity', 'Entity'), + ('federal capital territory', 'Federal capital territory'), ('federal dependency', 'Federal Dependency'), ('federal district', 'Federal District'), + ('federal territory', 'Federal Territory'), ('federal territories', 'Federal Territories'), + ('free municipal consortium', 'Free municipal consortium'), ('geographical entity', 'Geographical entity'), ('geographical region', 'Geographical region'), ('geographical unit', 'Geographical unit'), ('governorate', 'Governorate'), + ('group of islands (20 inhabited islands)', + 'Group of islands (20 inhabited islands)'), ('included for completeness', 'Included for completeness'), ('indigenous region', 'Indigenous region'), ('island', 'Island'), ('island council', 'Island council'), ('island group', 'Island group'), + ('islands, groups of islands', 'Islands, groups of islands'), + ('land', 'Land'), ('local council', 'Local council'), ('london borough', 'London borough'), + ('metropolitan administration', 'Metropolitan administration'), + ('metropolitan city', 'Metropolitan city'), ('metropolitan cities', 'Metropolitan cities'), + ('metropolitan collectivity with special status', + 'Metropolitan collectivity with special status'), ('metropolitan department', 'Metropolitan department'), ('metropolitan district', 'Metropolitan district'), ('metropolitan region', 'Metropolitan region'), @@ -165,12 +186,18 @@ class Subdivision(DeactivableMixin, ModelSQL, ModelView): ('nation', 'Nation'), ('oblast', 'Oblast'), ('outlying area', 'Outlying area'), + ('overseas collectivity', 'Overseas collectivity'), + ('overseas collectivity with special status', + 'Overseas collectivity with special status'), ('overseas department', 'Overseas department'), ('overseas region', 'Overseas region'), ('overseas region/department', 'Overseas region/department'), + ('overseas territory', 'Overseas territory'), ('overseas territorial collectivity', 'Overseas territorial collectivity'), + ('pakistan administered area', 'Pakistan administered area'), ('parish', 'Parish'), + ('popularate', 'Popularate'), ('popularates', 'Popularates'), ('prefecture', 'Prefecture'), ('principality', 'Principality'), @@ -179,25 +206,35 @@ class Subdivision(DeactivableMixin, ModelSQL, ModelView): ('rayon', 'Rayon'), ('region', 'Region'), ('regional council', 'Regional council'), + ('regional state', 'Regional state'), ('republic', 'Republic'), ('republican city', 'Republican City'), + ('rural municipality', 'Rural municipality'), ('self-governed part', 'Self-governed part'), + ('special administrative city', 'Special administrative city'), ('special administrative region', 'Special administrative region'), ('special city', 'Special city'), ('special district', 'Special District'), ('special island authority', 'Special island authority'), ('special municipality', 'Special Municipality'), ('special region', 'Special Region'), + ('special self-governing city', 'Special self-governing city'), + ('special self-governing province', 'Special self-governing province'), ('special zone', 'Special zone'), ('state', 'State'), ('territorial unit', 'Territorial unit'), ('territory', 'Territory'), + ('town', 'Town'), ('town council', 'Town council'), ('two-tier county', 'Two-tier county'), ('union territory', 'Union territory'), ('unitary authority', 'Unitary authority'), ('unitary authority (england)', 'Unitary authority (england)'), ('unitary authority (wales)', 'Unitary authority (wales)'), + ('urban community', 'Urban community'), + ('urban municipality', 'Urban municipality'), + ('voivodship', 'Voivodship'), + ('ward', 'Ward'), ('zone', 'zone'), ], "Type") parent = fields.Many2One('country.subdivision', 'Parent',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor