Taiwan (tw)¶
Forms¶
Taiwan-specific Form helpers.
- class localflavor.tw.forms.TWAdministrativeDivisionSelect(attrs=None)[source]¶
A select widget providing the list of administrative divisions in Taiwan as choices.
Added in version 5.1.
- localflavor.tw.tw_choices.TW_ADMINISTRATIVE_DIVISION_CHOICES = (('changhua_county', 'Changhua County'), ('chiayi_city', 'Chiayi City'), ('chiayi_county', 'Chiayi County'), ('hsinchu_city', 'Hsinchu City'), ('hsinchu_county', 'Hsinchu County'), ('hualien_county', 'Hualien County'), ('kaohsiung_city', 'Kaohsiung City'), ('keelung_city', 'Keelung City'), ('kinmen_county', 'Kinmen County'), ('lienchiang_county', 'Lienchiang County'), ('miaoli_county', 'Miaoli County'), ('nantou_county', 'Nantou County'), ('new_taipei_city', 'New Taipei City'), ('penghu_county', 'Penghu County'), ('pingtung_county', 'Pingtung County'), ('taichung_city', 'Taichung City'), ('tainan_city', 'Tainan City'), ('taipei_city', 'Taipei City'), ('taitung_county', 'Taitung County'), ('taoyuan_city', 'Taoyuan City'), ('yilan_county', 'Yilan County'), ('yunlin_county', 'Yunlin County'))¶
An alphabetical list of cities and counties for use as choices in a formfield. Based on the administrative divisions of Taiwan. https://en.wikipedia.org/wiki/List_of_administrative_divisions_of_Taiwan