Module Import alias ImportFrom alias ImportFrom alias alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp TupleLoad NameLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str Str body Return NameLoad If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str Str body Return NameLoad Raise Call NameLoad Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad body Raise NameLoad Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise NameLoad Call NameLoad Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad For NameStore AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Raise NameLoad BinOpMod Call NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad TupleLoad Call NameLoad Str Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad TupleLoad Str Str Str body If Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad BinOpMod Str NameLoad BinOpMult Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num BinOpPow Num BinOpAdd NameLoad Num Break orelse Expr Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call SubscriptLoad NameLoad Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list
N/A N/A re django.forms ValidationError django.utils.translation ugettext_lazy ugettext _ N/A ALPHA_NUMERIC_RE N/A N/A re compile \w+ Validator N/A object N/A N/A Base class for all the Wapi validators N/A DOC_NAMES N/A validate N/A N/A self value N/A N/A N/A Validates the given value, raising ValidationError if appropiate N/A ValidationError N/A __call__ N/A N/A self value N/A N/A N/A Triggers the validation N/A N/A N/A self validate value N/A doc_info N/A N/A self N/A N/A N/A Returns documentation information for this validator N/A N/A N/A v N/A getattr self k N/A N/A k v N/A N/A N/A self DOC_NAMES iteritems N/A N/A getattr self k None None N/A N/A BoolValidator N/A Validator N/A N/A Validates that the given value is a boolean validate N/A N/A self value N/A N/A N/A Accepts t, 1 and true as True and f, 0 and false as False N/A N/A N/A N/A value lower N/A t true 1 N/A N/A True N/A N/A N/A N/A value lower N/A f false 0 N/A N/A False N/A N/A ValidationError N/A _ Not a boolean N/A N/A IntegerValidator N/A Validator N/A N/A Validates that the given value can be converted to an integer validate N/A N/A self value N/A N/A N/A N/A N/A N/A int value N/A N/A N/A N/A ValueError TypeError N/A N/A N/A ValidationError N/A _ Not an integer N/A N/A FloatValidator N/A Validator N/A N/A Validates that the given value can be converted to a float validate N/A N/A self value N/A N/A N/A N/A N/A N/A float value N/A N/A N/A N/A ValueError TypeError N/A N/A N/A ValidationError N/A _ Not a float N/A N/A StringValidator N/A Validator N/A N/A Validates that the given value is a string with its length between
        the specified range (if any) N/A DOC_NAMES N/A max_length min_length N/A ugettext_lazy Maximum length N/A ugettext_lazy Minimum length __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super StringValidator self __init__ args kwargs N/A N/A self max_length N/A N/A kwargs get max_length N/A N/A self min_length N/A N/A kwargs get min_length N/A validate N/A N/A self value N/A N/A N/A N/A N/A N/A self max_length None N/A N/A len value N/A self max_length N/A N/A N/A ValidationError N/A N/A _ This value is too long (max is %d chars) N/A self max_length N/A N/A N/A N/A self min_length None N/A N/A len value N/A self min_length N/A N/A N/A ValidationError N/A N/A _ This value is too short (min is %d chars) N/A self max_length N/A value N/A N/A UnicodeValidator N/A StringValidator N/A N/A Validates that the given value is an unicode string or can be converted
        to unicode and its length is between the specified range (if any) validate N/A N/A self value N/A N/A N/A N/A N/A isinstance value unicode N/A N/A N/A N/A value N/A unicode value utf8 N/A N/A N/A UnicodeError N/A N/A ValidationError N/A _ Invalid unicode N/A N/A N/A N/A super UnicodeValidator self validate value N/A N/A AlphaNumericValidator N/A Validator N/A N/A Validates that the given value is an alphanumeric string validate N/A N/A self value N/A N/A N/A re N/A alnum_re N/A N/A re compile ^\w+$ N/A N/A N/A N/A alnum_re search value N/A N/A ValidationError N/A _ This value must contain only letters, numbers and underscores. N/A value N/A N/A RangeValidator N/A Validator N/A N/A Validates that the given value is between the given range N/A DOC_NAMES N/A max_value min_value N/A ugettext_lazy Maximum value N/A ugettext_lazy Minimum value __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super RangeValidator self __init__ args kwargs N/A N/A self min_value N/A N/A kwargs get min_value N/A N/A self max_value N/A N/A kwargs get max_value N/A validate N/A N/A self value N/A N/A N/A N/A N/A N/A self min_value None N/A value N/A self min_value N/A N/A N/A ValidationError N/A N/A _ This value is less than the min (%s) N/A self min_value N/A N/A N/A N/A self max_value None N/A value N/A self max_value N/A N/A N/A ValidationError N/A N/A _ This value is greater than the max (%s) N/A self max_value N/A value N/A N/A CommaSeparatedIntegersValidator N/A Validator N/A N/A Validates that the given value is a comma-separated list of integers __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super CommaSeparatedIntegersValidator self __init__ args kwargs N/A N/A self keep N/A N/A kwargs get keep False N/A N/A self integer_validator N/A IntegerValidator N/A validate N/A N/A self value N/A N/A N/A values N/A N/A val N/A N/A value split , N/A N/A N/A N/A values append N/A N/A N/A self integer_validator validate val N/A N/A self keep N/A N/A value N/A values N/A N/A ChoiceValidator N/A Validator N/A N/A Validates that the given value is one of the provided choices __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super ChoiceValidator self __init__ args kwargs N/A N/A self choices N/A N/A kwargs get choices N/A N/A self toupper N/A N/A kwargs get toupper False N/A N/A self tolower N/A N/A kwargs get tolower False N/A N/A self valid_choices N/A set N/A choice N/A self choices N/A N/A N/A N/A N/A isinstance choice tuple N/A N/A len choice 2 N/A N/A N/A RuntimeError Choices should be an iterable with tuples of size 2 N/A N/A N/A N/A self valid_choices add N/A choice N/A 0 N/A validate N/A N/A self value N/A N/A N/A N/A self tolower N/A N/A value N/A N/A value lower N/A N/A self toupper N/A N/A value N/A N/A value upper N/A N/A N/A value N/A self valid_choices N/A N/A ValidationError N/A N/A _ "%s" is not a valid choice value N/A value N/A doc_info N/A N/A self N/A N/A N/A Return the available choices N/A N/A N/A N/A _ Valid choices N/A N/A ,  join N/A N/A %s (%s) N/A v1 N/A _ v2 N/A N/A v1 v2 N/A self choices N/A N/A FileSizeValidator N/A Validator N/A N/A Validates that the given file is between the provided range N/A DOC_NAMES N/A max_size min_size N/A _ Maximum file size N/A _ Minimum file size __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super FileSizeValidator self __init__ args kwargs N/A N/A self max_size_bytes None N/A N/A self min_size_bytes None N/A N/A self max_size N/A N/A kwargs get max_size N/A N/A self min_size N/A N/A kwargs get min_size N/A attr N/A max_size min_size N/A N/A value N/A getattr self attr N/A N/A isinstance value basestring N/A N/A N/A i suffix N/A enumerate N/A K M G N/A N/A N/A N/A attr endswith suffix N/A N/A N/A setattr self N/A %s_bytes attr N/A N/A int N/A N/A self max_size N/A -1 N/A 1024 N/A i 1 N/A N/A N/A N/A setattr self N/A %s_bytes attr value N/A validate N/A N/A self value N/A N/A N/A N/A N/A N/A self max_size_bytes None N/A N/A value size N/A self max_size_bytes N/A N/A N/A ValidationError N/A N/A _ This file is too big (max %s) N/A self max_size N/A N/A N/A N/A self min_size_bytes None N/A N/A value size N/A self min_size_bytes N/A N/A N/A ValidationError N/A N/A _ This file is too small (min %s) N/A self min_size N/A value N/A N/A N/A TYPE_VALIDATORS N/A bool int float str basestring unicode file BoolValidator IntegerValidator FloatValidator StringValidator StringValidator UnicodeValidator None validate_type N/A N/A value_type value N/A N/A N/A Validates a value given its type N/A N/A N/A N/A N/A TYPE_VALIDATORS N/A value_type value N/A N/A N/A KeyError N/A N/A value N/A get_type_validator N/A N/A value_type N/A N/A N/A Returns the validator for the given type N/A N/A N/A N/A TYPE_VALIDATORS N/A value_type N/A N/A N/A KeyError N/A N/A None N/A