Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.*.sw?
build
docs/build
ENV/
Empty file.
20 changes: 20 additions & 0 deletions baph/localflavor/generic/data/gb/subdivisions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# encoding: utf8
from __future__ import unicode_literals

from django.utils.translation import ugettext_lazy as _


SUBDIVISIONS = ('REGIONS',)

GB_COUNTRIES = (
('ENG', 'England'),
('SCT', 'Scotland'),
('WLS', 'Wales'),
)

GB_PROVINCES = (
('NIR', 'Northern Ireland'),
)

REGIONS = tuple(sorted(GB_COUNTRIES + GB_PROVINCES,
key=lambda obj: obj[1]))
Empty file.
43 changes: 43 additions & 0 deletions baph/localflavor/generic/data/id_/subdivisions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# encoding: utf8
from __future__ import unicode_literals

from django.utils.translation import ugettext_lazy as _


SUBDIVISIONS = ('PROVINCES',)

PROVINCES = (
('ACE', _('Aceh')),
('BLI', _('Bali')),
('BTN', _('Banten')),
('BKL', _('Bengkulu')),
('GOR', _('Gorontalo')),
('JKT', _('Jakarta')),
('JMB', _('Jambi')),
('JBR', _('Jawa Barat')),
('JTG', _('Jawa Tengah')),
('JTM', _('Jawa Timur')),
('KBR', _('Kalimantan Barat')),
('KSL', _('Kalimantan Selatan')),
('KTG', _('Kalimantan Tengah')),
('KTM', _('Kalimantan Timur')),
('BBL', _('Kepulauan Bangka-Belitung')),
('KRI', _('Kepulauan Riau')),
('LPG', _('Lampung')),
('MLK', _('Maluku')),
('MUT', _('Maluku Utara')),
('NTB', _('Nusa Tenggara Barat')),
('NTT', _('Nusa Tenggara Timur')),
('PPA', _('Papua')),
('PPB', _('Papua Barat')),
('RIU', _('Riau')),
('SLB', _('Sulawesi Barat')),
('SLS', _('Sulawesi Selatan')),
('SLT', _('Sulawesi Tengah')),
('SLR', _('Sulawesi Tenggara')),
('SLU', _('Sulawesi Utara')),
('SMB', _('Sumatera Barat')),
('SMS', _('Sumatera Selatan')),
('SMU', _('Sumatera Utara')),
('DIY', _('Yogyakarta')),
)
Empty file.
27 changes: 27 additions & 0 deletions baph/localflavor/generic/data/kr/subdivisions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# encoding: utf8
from __future__ import unicode_literals

from django.utils.translation import ugettext_lazy as _


SUBDIVISIONS = ('REGIONS',)

REGIONS = (
('11', 'Seoul'),
('26', 'Busan'),
('27', 'Daugu'),
('28', 'Incheon'),
('29', 'Gwangju'),
('30', 'Daejeon'),
('31', 'Ulsan'),
('41', 'Gyeonggi'),
('42', 'Gangwon'),
('43', 'North Chungcheong'),
('44', 'South Chungcheong'),
('45', 'North Jeolla'),
('46', 'South Jeolla'),
('47', 'North Gyeobgsang'),
('48', 'South Gyeongsang'),
('49', 'Jeju'),
('50', 'Sejong'),
)
Empty file.
Loading