Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Call NameLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad 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 FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A 
GB-specific Form helpers
 __future__ unicode_literals N/A re django.forms ValidationError django.forms.fields CharField Select django.utils.translation ugettext_lazy _ gb_regions GB_NATIONS_CHOICES GB_REGION_CHOICES GBPostcodeField N/A CharField N/A N/A 
    A form field that validates its input is a UK postcode.

    The regular expression used is sourced from the schema for British Standard
    BS7666 address types: http://www.govtalk.gov.uk/gdsc/schemas/bs7666-v2-0.xsd

    The value is uppercased and a space added in the correct place, if required.
     N/A default_error_messages N/A invalid N/A _ Enter a valid postcode. N/A outcode_pattern [A-PR-UWYZ]([0-9]{1,2}|([A-HIK-Y][0-9](|[0-9]|[ABEHMNPRVWXY]))|[0-9][A-HJKSTUW]) N/A incode_pattern [0-9][ABD-HJLNP-UW-Z]{2} N/A postcode_regex N/A N/A re compile N/A ^(GIR 0AA|%s %s)$ N/A outcode_pattern incode_pattern N/A space_regex N/A N/A re compile N/A  *(%s)$ incode_pattern clean N/A N/A self value N/A N/A N/A value N/A N/A N/A super GBPostcodeField self clean value N/A N/A value N/A N/A value N/A postcode N/A N/A N/A N/A value upper strip N/A postcode N/A N/A N/A self space_regex sub  \1 postcode N/A N/A N/A N/A N/A self postcode_regex search postcode N/A N/A N/A ValidationError N/A N/A self error_messages N/A invalid N/A postcode N/A N/A GBCountySelect N/A Select N/A N/A 
    A Select widget that uses a list of UK Counties/Regions as its choices.
     __init__ N/A N/A self attrs N/A None N/A N/A N/A N/A N/A super GBCountySelect self __init__ attrs choices GB_REGION_CHOICES N/A N/A GBNationSelect N/A Select N/A N/A 
    A Select widget that uses a list of UK Nations as its choices.
     __init__ N/A N/A self attrs N/A None N/A N/A N/A N/A N/A super GBNationSelect self __init__ attrs choices GB_NATIONS_CHOICES N/A N/A