Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Assign NameStore Dict Str Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str keyword NameLoad keyword NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body ImportFrom alias 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 Num Assign NameStore Str Assign NameStore Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMult Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad If Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Call NameLoad SubscriptLoad NameLoad Index Num 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 TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str 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 CompareEq NameLoad Str body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A 
DE-specific Form helpers
 django.core.validators EMPTY_VALUES django.forms ValidationError django.forms.fields Field RegexField Select django.utils.translation ugettext_lazy _ N/A re N/A id_re N/A N/A re compile ^(?P<residence>\d{10})(?P<origin>\w{1,3})[-\ ]?(?P<birthday>\d{7})[-\ ]?(?P<validity>\d{7})[-\ ]?(?P<checksum>\d{1})$ DEZipCodeField N/A RegexField N/A N/A default_error_messages N/A invalid N/A _ Enter a zip code in the format XXXXX. __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super DEZipCodeField self __init__ ^\d{5}$ max_length None min_length None args kwargs N/A N/A DEStateSelect N/A Select N/A N/A 
    A Select widget that uses a list of DE states as its choices.
     __init__ N/A N/A self attrs N/A None N/A de_states STATE_CHOICES N/A N/A N/A N/A super DEStateSelect self __init__ attrs choices STATE_CHOICES N/A N/A DEIdentityCardNumberField N/A Field N/A N/A 
    A German identity card number.

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

        * Conforms to the XXXXXXXXXXX-XXXXXXX-XXXXXXX-X format.
        * No group consists entirely of zeroes.
        * Included checksums match calculated checksums

    Algorithm is documented at http://de.wikipedia.org/wiki/Personalausweis
     N/A default_error_messages N/A invalid N/A _ Enter a valid German identity card number in XXXXXXXXXXX-XXXXXXX-XXXXXXX-X 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 calculated_checksum 0 N/A fragment N/A parameter 7 N/A i N/A range N/A len given_number N/A N/A fragment N/A str N/A N/A int N/A given_number N/A i parameter N/A N/A N/A fragment isalnum N/A N/A calculated_checksum N/A int N/A fragment N/A -1 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 DEIdentityCardNumberField 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 gd N/A N/A match groupdict N/A N/A residence origin N/A N/A gd N/A residence N/A gd N/A origin N/A N/A birthday validity checksum N/A N/A gd N/A birthday N/A gd N/A validity N/A gd N/A checksum N/A N/A N/A residence 0000000000 N/A birthday 0000000 N/A validity 0000000 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%s N/A residence birthday validity checksum N/A N/A N/A N/A N/A self has_valid_checksum residence N/A N/A N/A self has_valid_checksum birthday N/A N/A N/A self has_valid_checksum validity 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-%s-%s N/A residence origin birthday validity checksum N/A N/A