Estonia (ee
)¶
New in version 1.1.
Forms¶
-
class
localflavor.ee.forms.
EEBusinessRegistryCode
(required=True, widget=None, label=None, initial=None, help_text=u'', error_messages=None, show_hidden_initial=False, validators=[], localize=False, label_suffix=None)[source]¶ A form field that validates input as an Estonian business registration code.
New in version 1.2.
-
class
localflavor.ee.forms.
EECountySelect
(attrs=None)[source]¶ A Select widget that uses a list of Estonian counties as its choices.
-
class
localflavor.ee.forms.
EEPersonalIdentificationCode
(required=True, widget=None, label=None, initial=None, help_text=u'', error_messages=None, show_hidden_initial=False, validators=[], localize=False, label_suffix=None)[source]¶ A form field that validates input as an Estonian personal identification code.
Data¶
-
localflavor.ee.ee_counties.
COUNTY_CHOICES
= ((u'37', u'Harju County'), (u'39', u'Hiiu County'), (u'44', u'Ida-Viru County'), (u'49', u'J\xf5geva County'), (u'51', u'J\xe4rva County'), (u'57', u'L\xe4\xe4ne County'), (u'59', u'L\xe4\xe4ne-Viru County'), (u'65', u'P\xf5lva County'), (u'67', u'P\xe4rnu County'), (u'70', u'Rapla County'), (u'74', u'Saare County'), (u'78', u'Tartu County'), (u'82', u'Valga County'), (u'84', u'Viljandi County'), (u'86', u'V\xf5ru County'))¶ A list of Estonian counties as choices in a formfield. Identifiers based on ISO 3166-2:EE. https://en.wikipedia.org/wiki/ISO_3166-2:EE