South Africa (za
)¶
Forms¶
South Africa-specific Form helpers
-
class
localflavor.za.forms.
ZAIDField
(max_length=None, min_length=None, *args, **kwargs)[source]¶ A form field for South African ID numbers – the checksum is validated using the Luhn checksum, and uses a simlistic (read: not entirely accurate) check for the birthdate
Data¶
-
localflavor.za.za_provinces.
PROVINCE_CHOICES
= (('EC', <django.utils.functional.__proxy__ object at 0x7f953ee6bb90>), ('FS', <django.utils.functional.__proxy__ object at 0x7f953ee6ba90>), ('GP', <django.utils.functional.__proxy__ object at 0x7f953ee6bb10>), ('KN', <django.utils.functional.__proxy__ object at 0x7f953ee6bed0>), ('LP', <django.utils.functional.__proxy__ object at 0x7f953ee6bfd0>), ('MP', <django.utils.functional.__proxy__ object at 0x7f953ee6be10>), ('NC', <django.utils.functional.__proxy__ object at 0x7f953ee6b990>), ('NW', <django.utils.functional.__proxy__ object at 0x7f953ee6bcd0>), ('WC', <django.utils.functional.__proxy__ object at 0x7f953ee6b0d0>))¶ A list of South African provinces as choices in a formfield.