Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body 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 Str NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body 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 Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str 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 NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign TupleStore NameStore NameStore NameStore TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str SubscriptLoad Call AttributeLoad NameLoad attr Index Str SubscriptLoad Call AttributeLoad NameLoad attr Index Str If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str CompareEq NameLoad Str body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpOr CompareEq NameLoad Str BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str CompareLtELtE Num Call NameLoad NameLoad Num CompareEq NameLoad Str CompareEq NameLoad Str 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 FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Return Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass orelse TryExcept body Return Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str handlers ExceptHandler type NameLoad body Pass 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 ImportFrom alias Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword 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
N/A N/A 
USA-specific Form helpers
 __future__ absolute_import N/A re django.core.validators EMPTY_VALUES django.forms ValidationError django.forms.fields Field RegexField Select CharField django.utils.encoding smart_unicode django.utils.translation ugettext_lazy _ N/A phone_digits_re N/A N/A re compile ^(?:1-?)?(\d{3})[-\.]?(\d{3})[-\.]?(\d{4})$ N/A ssn_re N/A N/A re compile ^(?P<area>\d{3})[-\ ]?(?P<group>\d{2})[-\ ]?(?P<serial>\d{4})$ USZipCodeField N/A RegexField N/A N/A default_error_messages N/A invalid N/A _ Enter a zip code in the format XXXXX or XXXXX-XXXX. __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 USZipCodeField self __init__ ^\d{5}(?:-\d{4})?$ max_length min_length args kwargs N/A N/A USPhoneNumberField N/A CharField N/A N/A default_error_messages N/A invalid N/A _ Phone numbers must be in XXX-XXX-XXXX format. clean N/A N/A self value N/A N/A N/A N/A N/A N/A super USPhoneNumberField 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 smart_unicode 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 N/A N/A N/A m group 1 N/A N/A m group 2 N/A N/A m group 3 N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A N/A USSocialSecurityNumberField N/A Field N/A N/A 
    A United States Social Security number.

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

        * Conforms to the XXX-XX-XXXX format.
        * No group consists entirely of zeroes.
        * The leading group is not "666" (block "666" will never be allocated).
        * The number is not in the promotional block 987-65-4320 through
          987-65-4329, which are permanently invalid.
        * The number is not one known to be invalid due to otherwise widespread
          promotional use or distribution (e.g., the Woolworth's number or the
          1962 promotional number).
     N/A default_error_messages N/A invalid N/A _ Enter a valid U.S. Social Security number in XXX-XX-XXXX format. clean N/A N/A self value N/A N/A N/A N/A N/A N/A super USSocialSecurityNumberField self clean value N/A N/A value EMPTY_VALUES N/A N/A N/A match N/A N/A re match ssn_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 N/A area group serial N/A N/A N/A N/A match groupdict N/A area N/A N/A N/A match groupdict N/A group N/A N/A N/A match groupdict N/A serial N/A N/A N/A area 000 N/A group 00 N/A serial 0000 N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A N/A N/A area 666 N/A N/A area 987 N/A group 65 N/A 4320 N/A int serial 4329 N/A value 078-05-1120 N/A value 219-09-9999 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 area group serial N/A N/A USStateField N/A Field N/A N/A 
    A form field that validates its input is a U.S. state name or abbreviation.
    It normalizes the input to the standard two-leter postal service
    abbreviation for the given state.
     N/A default_error_messages N/A invalid N/A _ Enter a U.S. state or territory. clean N/A N/A self value N/A N/A django.contrib.localflavor.us.us_states STATES_NORMALIZED N/A N/A N/A N/A super USStateField self clean value N/A N/A value EMPTY_VALUES N/A N/A N/A N/A N/A value N/A N/A N/A N/A value strip lower N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A N/A N/A N/A STATES_NORMALIZED N/A N/A N/A N/A N/A value strip lower decode ascii N/A N/A N/A KeyError N/A N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A N/A USStateSelect N/A Select N/A N/A 
    A Select widget that uses a list of U.S. states/territories as its choices.
     __init__ N/A N/A self attrs N/A None N/A django.contrib.localflavor.us.us_states STATE_CHOICES N/A N/A N/A N/A super USStateSelect self __init__ attrs choices STATE_CHOICES N/A N/A USPSSelect N/A Select N/A N/A 
    A Select widget that uses a list of US Postal Service codes as its
    choices.
     __init__ N/A N/A self attrs N/A None N/A django.contrib.localflavor.us.us_states USPS_CHOICES N/A N/A N/A N/A super USPSSelect self __init__ attrs choices USPS_CHOICES N/A N/A