Module Assign NameStore Str ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str ClassDef bases NameLoad body Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Str keyword Str decorator_list
N/A N/A __author__ Johannes Gehrs (jgehrs@gmail.com) flask Flask render_template request wtforms Form validators wtformsparsleyjs IntegerField BooleanField SelectField StringField N/A app N/A Flask __name__ parsley_testform N/A N/A N/A N/A N/A form N/A ParsleyTestForm N/A request form N/A N/A N/A request method POST N/A N/A N/A N/A form validate N/A N/A render_template wtforms_parsley_sample.html form form N/A N/A N/A app route /parsley_testform methods N/A GET POST ParsleyTestForm N/A Form N/A N/A email N/A StringField E-Mail Address N/A N/A N/A validators Email Sorrry, not a valid email address. default test@example.com N/A first_value N/A StringField Some Value default Some value N/A second_value N/A StringField Should be identical N/A N/A N/A validators EqualTo message Sorry, values do not match. fieldname first_value default Some value N/A ip_address N/A StringField IP4 Address N/A N/A N/A validators IPAddress message Sorry, not a valid IP4 Address. default 127.0.0.1 N/A string_length N/A StringField Length of String (5 to 10) N/A N/A N/A validators Length message Length should be between 5 and 10 characters. min 5 max 10 default Hello! N/A number_range N/A IntegerField Number Range (5 to 10) N/A N/A N/A validators NumberRange message Range should be between 5 and 10. min 5 max 10 default 7 N/A required_text N/A StringField Required Field N/A N/A N/A validators DataRequired message Sorry, this is a required field. default Mandatory text N/A required_select N/A SelectField Required Select N/A N/A N/A validators DataRequired message Sorry, you have to make a choice. choices N/A N/A Please select an option N/A cpp C++ N/A py Python N/A text Plain Text default py N/A required_checkbox N/A BooleanField Required Checkbox N/A N/A N/A validators DataRequired message Sorry, you need to accept this. default True N/A regexp N/A StringField Regex-Matched Hex Color-Code N/A N/A N/A validators Regexp message Not a proper color code, sorry. regex ^#[A-Fa-f0-9]{6}$ default #7D384F N/A url N/A StringField URL Field N/A N/A N/A validators URL message Sorry, this is not a valid URL, default http://example.com/parsley N/A anyof N/A StringField Car, Bike or Plane? N/A N/A N/A validators AnyOf message Sorry, you can only choose from car, bike and plane values N/A car bike plane default car N/A