Module Expr Str ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Return Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num If Call AttributeLoad NameLoad attr body Assign NameStore BinOpSub Call NameLoad Call AttributeLoad NameLoad attr Num If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Num body Return NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad AugAssignAdd NameStore NameLoad If CompareEq NameLoad Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Num Return CompareEq SubscriptLoad Call NameLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Return Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Call NameLoad Str Assign NameStore ListLoad Call NameLoad keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Swiss-specific Form helpers
 __future__ unicode_literals N/A re django.core.validators EMPTY_VALUES RegexValidator django.forms ValidationError django.forms.fields CharField Field RegexField Select django.utils.encoding force_text django.utils.translation ugettext_lazy _ generic validators ch_states STATE_CHOICES N/A zip_re N/A N/A re compile ^[1-9]\d{3}$ N/A id_re N/A N/A re compile ^(?P<idnumber>\w{8})(?P<pos9>(\d{1}|<))(?P<checksum>\d{1})$ N/A phone_digits_re N/A N/A re compile ^0([1-9]{1})\d{8}$ N/A ssn_re N/A N/A re compile ^756.\d{4}\.\d{4}\.\d{2}$ CHZipCodeField N/A RegexField N/A N/A 
    A form field that validates input as a Swiss zip code. Valid codes
    consist of four digits ranging from 1XXX to 9XXX.

    See:
    http://en.wikipedia.org/wiki/Postal_codes_in_Switzerland_and_Liechtenstein
     N/A default_error_messages N/A invalid N/A _ Enter a valid postal code in the range and format 1XXX - 9XXX. __init__ N/A N/A self max_length min_length N/A None None args kwargs N/A N/A N/A N/A N/A super CHZipCodeField self __init__ zip_re max_length min_length args kwargs N/A N/A CHPhoneNumberField N/A Field N/A N/A 
    Validate local Swiss phone number (not international ones)
    The correct format is '0XX XXX XX XX'.
    '0XX.XXX.XX.XX' and '0XXXXXXXXX' validate but are corrected to
    '0XX XXX XX XX'.
     N/A default_error_messages N/A invalid N/A _ Phone numbers must be in 0XX XXX XX XX format. clean N/A N/A self value N/A N/A N/A N/A N/A N/A super CHPhoneNumberField self clean value N/A N/A value EMPTY_VALUES N/A N/A N/A value N/A N/A re sub (\.|\s|/|-) N/A force_text value N/A m N/A N/A phone_digits_re search value N/A m N/A N/A N/A %s %s %s %s N/A N/A value N/A 0 3 N/A value N/A 3 6 N/A value N/A 6 8 N/A value N/A 8 10 N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A N/A CHStateSelect N/A Select N/A N/A 
    A Select widget that uses a list of CH states as its choices.
     __init__ N/A N/A self attrs N/A None N/A N/A N/A N/A N/A super CHStateSelect self __init__ attrs choices STATE_CHOICES N/A N/A CHIdentityCardNumberField N/A Field N/A N/A 
    A Swiss identity card number.

    Checks the following rules to determine whether the number is valid:

        * Conforms to the X1234567<0 or 1234567890 format.
        * Included checksums match calculated checksums

     N/A default_error_messages N/A invalid N/A _ Enter a valid Swiss identity or passport card number in X1234567<0 or 1234567890 format. has_valid_checksum N/A N/A self number N/A N/A N/A N/A given_number given_checksum N/A N/A number N/A -1 N/A number N/A -1 N/A new_number given_number N/A calculated_checksum 0 N/A fragment N/A parameter 7 N/A first N/A str N/A number N/A 1 N/A N/A N/A first isalpha N/A N/A num N/A N/A ord N/A N/A first upper 65 N/A N/A N/A num 0 N/A num 8 N/A N/A False N/A new_number N/A N/A str num N/A new_number N/A 1 N/A new_number N/A N/A new_number N/A 8 0 N/A N/A N/A N/A new_number isdigit N/A N/A False N/A i N/A range N/A len new_number N/A N/A fragment N/A N/A int N/A new_number N/A i parameter N/A calculated_checksum fragment N/A N/A parameter 1 N/A N/A parameter 7 N/A N/A N/A parameter 3 N/A N/A parameter 1 N/A N/A N/A parameter 7 N/A N/A parameter 3 N/A N/A N/A N/A str calculated_checksum N/A -1 given_checksum N/A clean N/A N/A self value N/A N/A N/A N/A N/A N/A super CHIdentityCardNumberField self clean value N/A N/A value EMPTY_VALUES N/A N/A N/A match N/A N/A re match id_re value N/A N/A match N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A result N/A N/A match groupdict N/A N/A idnumber pos9 checksum N/A N/A result N/A idnumber N/A result N/A pos9 N/A result N/A checksum N/A N/A N/A idnumber 00000000 N/A idnumber A0000000 N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A all_digits N/A %s%s%s N/A idnumber pos9 checksum N/A N/A N/A N/A self has_valid_checksum all_digits N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A N/A %s%s%s N/A idnumber pos9 checksum N/A N/A CHSocialSecurityNumberField N/A CharField N/A N/A 
    A Swiss Social Security number (also known as the new AHV Number).

    Checks the following rules to determine whether the number is valid:

        * Conforms to the 756.XXXX.XXXX.XX
        * Included checksums match calculated checksums

    See:
    http://de.wikipedia.org/wiki/Sozialversicherungsnummer#Versichertennummer

    .. versionadded:: 1.2
     N/A default_error_messages N/A invalid N/A _ Enter a valid Swiss Social Security number in 756.XXXX.XXXX.XX format. N/A default_validators N/A N/A RegexValidator regex ssn_re N/A N/A validators EANValidator strip_nondigits True run_validators N/A N/A self value N/A N/A N/A N/A N/A N/A N/A N/A super CHSocialSecurityNumberField self run_validators value N/A N/A N/A ValidationError N/A errs N/A N/A N/A ValidationError N/A list N/A set N/A errs messages N/A N/A